[llvm] [llvm][ELF] Add ELF section type for embedding ELF binaries (PR #207027)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 4 19:30:28 PDT 2026


================
@@ -1196,6 +1196,7 @@ enum : unsigned {
   SHT_LLVM_JT_SIZES = 0x6fff4c0d,           // LLVM jump tables sizes.
   SHT_LLVM_CFI_JUMP_TABLE = 0x6fff4c0e,     // LLVM CFI jump table.
   SHT_LLVM_CALL_GRAPH = 0x6fff4c0f,         // LLVM Call Graph Section.
+  SHT_LLVM_ELF = 0x6fff4c10,                // LLVM ELF.
----------------
MaskRay wrote:

If SHT_LLVM_EMBEDDED_ELF is too long, another candidate: SHT_LLVM_INNER_ELF

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


More information about the llvm-commits mailing list