[LLVMdev] Contants generation

Tim Northover t.p.northover at gmail.com
Tue Jun 25 05:07:51 PDT 2013


Hi again,

Actually, I've just been looking at the existing code and the ARM
solution may be over-complicated for this situation.

You should be able to override EmitConstantPool directly, or possibly
even just override getSectionForConstantKind in
X86LinuxTargetObjectFile (and perhaps others) to return .text.

Tim.



More information about the llvm-dev mailing list