[llvm-commits] [llvm] r64877 - in /llvm/trunk: lib/Target/ARM/AsmPrinter/ARMAsmPrinter.cpp lib/Target/PowerPC/AsmPrinter/PPCAsmPrinter.cpp lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp test/CodeGen/X86/cstring.ll
Eric Christopher
echristo at apple.com
Wed Feb 18 21:02:54 PST 2009
On Feb 18, 2009, at 8:05 PM, Chris Lattner wrote:
>>
>> The most straightforward would be add a section_name field to the
>> STRING_CST node (struct tree_string in tree.h).
>
> Another option that occurred to me: we could just setSection() on
> *all* STRING_CSTs. Duncan, what do you think about that?
>
This is effectively what gcc does on this sort of thing. Probably do
it similarly to emit_global_to_llvm?
-eric
More information about the llvm-commits
mailing list