郑晗 via llvm-dev
2020-Mar-14 07:46 UTC
[llvm-dev] something about the memory layout and basic block alignment
Hi: I'm trying to implement something similar to the sandbox and i need to control the block alignment and the memory layout.I have already read the document and the mail list but i failed to solve it. I know that gcc can set the alignment of the basic code blocks by compile option `-falign-label=n`.So is there any option similar to this in llvm? And I know we can control the memory layout by GNU linker script while linking.For example , we can set the .text section's address in linker script.So what should i do to control the memory layout in llvm? Thank you hanZheng -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20200314/171e4e68/attachment.html>