[clang] [llvm] [Clang] -fseparate-named-sections option (PR #91028)
Fangrui Song via cfe-commits
cfe-commits at lists.llvm.org
Sat May 4 00:07:57 PDT 2024
MaskRay wrote:
> This is an alternative approach to address the issue described in [discourse.llvm.org/t/rfc-support-for-memory-regions-in-elf/78570](https://discourse.llvm.org/t/rfc-support-for-memory-regions-in-elf/78570) which doesn't require a custom section type.
This RFC is about `SHT_LLVM_MEMORY` while this patch seems orthogonal?
I agree that the option is useful in some cases. If `ld -r` is used, `--unique` will be needed to not destroy granularity.
https://github.com/llvm/llvm-project/pull/91028
More information about the cfe-commits
mailing list