[LLVMdev] How to set constant pool section?

Anton Korobeynikov anton at korobeynikov.info
Wed Mar 14 10:29:30 PDT 2012


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



More information about the llvm-dev mailing list