search for: fixedvalue

Displaying 5 results from an estimated 5 matches for "fixedvalue".

2010 Aug 16
1
[LLVMdev] [PATCH] fix "32-bit shift" warning in MSVC
...converted to 64 bits (was 64-bit shift intended?) Index: lib/MC/MachObjectWriter.cpp =================================================================== --- lib/MC/MachObjectWriter.cpp (revision 111120) +++ lib/MC/MachObjectWriter.cpp (working copy) @@ -769,7 +769,7 @@ IsPCRel = 1; FixedValue = (FixupAddress - Layout.getSymbolAddress(SD_B) + Target.getConstant()); - FixedValue += 1 << Log2Size; + FixedValue += static_cast<uint64_t>(1) << Log2Size; } else { FixedValue = 0; } -------------- next part -------------- A non-te...
2013 Sep 25
1
[LLVMdev] arm64 / iOS support
...MCMachObjectTargetWriter { + + bool requiresExternRelocation(MachObjectWriter *Writer, + const MCAssembler &Asm, + const MCFragment &Fragment, unsigned RelocType, + const MCSymbolData *SD, uint64_t FixedValue); + +public: + AArch64MachOObjectWriter(uint32_t CPUType, uint32_t CPUSubtype); + + virtual ~AArch64MachOObjectWriter(); + +protected: + virtual void + RecordRelocation(MachObjectWriter *Writer, const MCAssembler &Asm, + const MCAsmLayout &Layout, const MCFragment *Fra...
2010 Jul 20
0
[LLVMdev] MC-JIT
Some boring style comments: - whack trailing whitespace - spaces, not tabs - the methods in MCJITStreamer.cpp should probably have blank lines between them There seems to be an ownership problem of the MCJITObjectWriter. If I understand the code correctly, the assembler Finish method takes ownership of the Writer parameter, which presumably is needed to JIT two functions. +1 for separate
2010 Jul 20
2
[LLVMdev] MC-JIT
...ly resolve all of the > symbols that are being used in the module. We may need some extra > interfaces to allow the JIT to tell the MCAssembler about the address > of some external symbols though. OK, I'm still experimenting with this. But it seems that I just need to modify the "FixedValue" parameter of the RecordRelocation method. More on this in future patches. :) > There seems to be an ownership problem of the MCJITObjectWriter. If I > understand the code correctly, the assembler Finish method takes > ownership of the Writer parameter, which presumably is needed t...
2010 Jul 19
7
[LLVMdev] MC-JIT
Together with Jan Sjodin (in copy of this email), we begin an implementation of the JIT with MC. The idea, suggested by Jan, is to develop a MCJIT in parallel of the current JIT and to keep the two implementations until (at least) the new MC one is mature enough. Currently code is kept on gitorious (http://gitorious.org/llvm-mc-jit/llvm-mc-jit). Following this, a boolean "bool MCJIT =