[LLVMdev] setSection not working?

ret val retval386 at gmail.com
Sun Nov 13 11:08:35 PST 2011


I created a GlobalVariable from a ConstantArray. I then used to the
setSection() method on my GlobalVariable. Looking at the ELF file it
does not look like it is where I specified. I gave "new
StringRef("my_map")" to the method.

Is there more that needs to be done? In case it matters this is ToT on Linux.

Thank you



More information about the llvm-dev mailing list