[LLVMdev] How to set constant pool section?
Anton Korobeynikov
anton at korobeynikov.info
Thu Mar 15 01:47:13 PDT 2012
Hello
> So I need to overwrite ShouldOmitSectionDirective behavior. But this
> method of MCSectionELF is not virtual.
> As a workaround, I stubbed it in core LLVM code
> (MCSectionELF::ShouldOmitSectionDirective), and everything works, but
> it is ugly. May be you can advise further?
So, it seems that:
1. You're using ELF for your target
2. The assember you're using despite pretending to be ELF-ish is so
broken, that it requires something like ".foo" instead of ".section
.foo" ?
Is it so?
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the llvm-dev
mailing list