Carter, Jack
2012-Dec-18 01:55 UTC
[LLVMdev] Setting ELF section alignment at the Target level
Figured it out If I have an MCObjectStreamer object and the MCSection object of the section in question all I need to do is MCObjectStreamer & MCOS = static_cast <MCObjectStreamer &>(OutStreamer); MCSectionData &SD MCOS.getAssembler().getOrCreateSectionData(*Section); SD.setAlignment(4); Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121218/7be67667/attachment.html>