search for: printglobalvariable

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

2009 Aug 25
0
[LLVMdev] RFC: Supporting ELF symbol aliases via GlobalAlias GEPs
...#39;d like to commit as a work-in-progress and then work on adding support for more targets. It should be relatively trivial to add this for other ELF targets; just override getSupportsOverlappingAliases() in the relevant TargetMachine subclass to return true and copy the code out of the PrintGlobalVariable() method in the AsmPrinter subclass to implement printObjectType(). David On 23 Aug 2009, at 23:41, David Chisnall wrote: > 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:...
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
...to > commit as a work-in-progress and then work on adding support for more > targets.  It should be relatively trivial to add this for other ELF targets; > just override getSupportsOverlappingAliases() in the relevant TargetMachine > subclass to return true and copy the code out of the PrintGlobalVariable() > method in the AsmPrinter subclass to implement printObjectType(). > > David > > On 23 Aug 2009, at 23:41, David Chisnall wrote: > >> Hi Everyone, >> >> Chris suggested[1] I should ask for feedback as to whether this is a >> desired feature before I put...