search for: setvariablevalue

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

2015 Jun 12
2
[LLVMdev] .thumb_set
For what it is worth it, gas has this strange behaviour. I agree it is strange, but why is it an issue for r239440? Will I get a failure if I revert it? Cheers, Rafael On 12 June 2015 at 12:17, Pete Cooper <peter_cooper at apple.com> wrote: > Hey Salem, > > Any chance you’ve had time to take a look at this? > > If you prefer, I can prepare a patch with the change i’d like
2012 Oct 17
0
[LLVMdev] R_ARM_ABS32 disassembly with integrated-as
...&SD = getAssembler().getOrCreateSymbolData(*Symbol); + MCELF::SetType(SD, ELF::STT_NOTYPE); + MCELF::SetBinding(SD, ELF::STB_LOCAL); + SD.setExternal(false); + Symbol->setSection(*getCurrentSection()); + + const MCExpr *Value = MCSymbolRefExpr::Create(Start, getContext()); + Symbol->setVariableValue(Value); +} + +void MCELFStreamer::EmitDataRegion(MCDataRegionType Kind) { + switch (Kind) { + case MCDR_DataRegion: + case MCDR_DataRegionJT8: + case MCDR_DataRegionJT16: + case MCDR_DataRegionJT32: + EmitMappingSymbol(/*IsData*/true); + break; +...
2012 Oct 16
2
[LLVMdev] R_ARM_ABS32 disassembly with integrated-as
Attached is an example of how to reproduce the issue. It uses a C file that happens to has a bunch of switch statements which are encoded as jump tables, giving us data-in-code. Usage: To build object files with clang via the -integrated-as versus via GCC: $ export NDK_DIR=<my_ndk_dir> $ export LLVM_DIR=<my_llvm_bin_dir> $ make To test that the generated objects contain the same
2010 Jul 16
0
[LLVMdev] Win32 COFF Support - Patch 3
...mblerFlag(MCAssemblerFlag Flag) { > @@ -91,10 +250,29 @@ void WinCOFFStreamer::EmitAssemblerFlag(MCAssemblerFlag Flag) { > } > > void WinCOFFStreamer::EmitAssignment(MCSymbol *Symbol, const MCExpr *Value) { > + getSymbolData(Symbol); > + VisitSymbols(Value); > + Symbol->setVariableValue(Value); > } > > void WinCOFFStreamer::EmitSymbolAttribute(MCSymbol *Symbol, > MCSymbolAttr Attribute) { > + switch (Attribute) { > + case MCSA_WeakReference: > + getSymbolData(Symbol)->modifyFlags( > + COFF::SF_WeakRe...
2010 Jul 14
2
[LLVMdev] Win32 COFF Support - Patch 3
On Sun, Jul 11, 2010 at 6:10 PM, Chris Lattner <clattner at apple.com> wrote: > This probably needs to be slightly tweaked to work with mainline.  I don't see anything objectionable, but I think Daniel needs to review this one. Updated patch to work with mainline. http://github.com/Bigcheese/llvm-mirror/commit/d19a4c82c18afc4830c09b70f02d162292231c94 - Michael Spencer