Displaying 3 results from an estimated 3 matches for "targetloweringobjectfileimp".
Did you mean:
targetloweringobjectfileimpl
2012 Mar 14
2
[LLVMdev] How to set constant pool section?
Hi,
In the document: http://llvm.org/docs/WritingAnLLVMBackend.html
described example like:
SparcTargetAsmInfo::SparcTargetAsmInfo(const SparcTargetMachine &TM) {
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
Data64bitsDirective = 0; // .xword is only supported by V9.
ZeroDirective = "\t.skip\t";
CommentString = "!";
2012 Mar 14
0
[LLVMdev] How to set constant pool section?
Hello
> I really need in my backend value for this section, distinct from
> default. Where can I set it?
It was renamed to ReadOnlySection. You might want to check the logic
inside CodeGen/TargetLoweringObjectFileImp.cpp (in particular -
TargetLoweringObjectFile::SelectionSectionForGlobal) to see how it's
used.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
2012 Mar 15
3
[LLVMdev] How to set constant pool section?
...012 at 9:29 PM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> Hello
>
>> I really need in my backend value for this section, distinct from
>> default. Where can I set it?
> It was renamed to ReadOnlySection. You might want to check the logic
> inside CodeGen/TargetLoweringObjectFileImp.cpp (in particular -
> TargetLoweringObjectFile::SelectionSectionForGlobal) to see how it's
> used.
>
> --
> With best regards, Anton Korobeynikov
> Faculty of Mathematics and Mechanics, Saint Petersburg State University