[llvm] [SHT_LLVM_BB_ADDR_MAP] Deprecate versions 1 and 0 (SHT_LLVM_BB_ADDR_MAP_V0). (PR #146186)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 00:05:56 PDT 2025


================
@@ -1153,9 +1153,6 @@ enum : unsigned {
   SHT_LLVM_SYMPART = 0x6fff4c05,   // Symbol partition specification.
   SHT_LLVM_PART_EHDR = 0x6fff4c06, // ELF header for loadable partition.
   SHT_LLVM_PART_PHDR = 0x6fff4c07, // Phdrs for loadable partition.
-  SHT_LLVM_BB_ADDR_MAP_V0 =
----------------
jh7370 wrote:

We should keep this in, at least commented out or similar, because we don't want its value ever being reused. Otherwise, on old LLVM might misinterpret a newer object or vice versa and get very confused.

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


More information about the llvm-commits mailing list