search for: x86attasmwprint

Displaying 3 results from an estimated 3 matches for "x86attasmwprint".

Did you mean: x86attasmwprinter
2009 Aug 25
0
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...An implementation of this method in X86TargetMachine which returns true for ELF targets. - printObjectType() in AsmPrinter. Currently all of the subclasses hard-code this (e.g. ".type " + name + ", @object") when emitting global variables. I've implemented this for X86ATTAsmWPrinter, and will add the same for other classes as required. - PrintGlobalOffsetAlias(), also in AsmPrinter. This outputs a GlobalAlias which is a GEP to a GlobalVariable, if the target supports it. This is a proof-of-concept implementation which, pending review, I'd like to commit as a w...
2009 Aug 23
3
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
Hi Everyone, Chris suggested[1] I should ask for feedback as to whether this is a desired feature before I put too much effort into it, so here goes: I would like to be able to export a symbol that is inside an LLVM structure. This is possible on ELF targets[2], and the attached proof- of-concept patch to AsmWriter makes it work (although in a hackish way that I am NOT suggesting be
2009 Aug 25
1
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...of this method in X86TargetMachine which returns true > for ELF targets. > > - printObjectType() in AsmPrinter.  Currently all of the subclasses > hard-code this (e.g. ".type " + name + ", @object") when emitting global > variables.  I've implemented this for X86ATTAsmWPrinter, and will add the > same for other classes as required. > > - PrintGlobalOffsetAlias(), also in AsmPrinter.  This outputs a GlobalAlias > which is a GEP to a GlobalVariable, if the target supports it. > > This is a proof-of-concept implementation which, pending review, I'd l...