[clang] [llvm] [X86] Set .llvmbc and .llvmcmd to exclude sections (PR #151910)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 4 21:48:46 PDT 2025


MaskRay wrote:

I think not using SHF_EXCLUDE is an intention design. There are some discussions on 
https://discourse.llvm.org/t/end-to-end-fembed-bitcode-llvmbc-and-llvmcmd/56265

The concatenated bitcode might allow analysis like https://github.com/travitch/whole-program-llvm (though it doesn't seem to use embed-bitcode).

https://github.com/llvm/llvm-project/pull/151910


More information about the llvm-commits mailing list