search for: printobjecttype

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

2009 Aug 25
0
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...rgetMachine which returns whether the target supports multiple symbols to the same object. This returns false in the superclass and needs to be explicitly overridden for each target to enable it. - 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...
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
...whether the target supports multiple symbols to the same object.  This > returns false in the superclass and needs to be explicitly overridden for > each target to enable it. > > - 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. > > - PrintGlobalOffs...