[lld] [llvm] [Object][ELF] Support extended header for Object Parser in ELF (PR #162288)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 00:38:27 PDT 2025


================
@@ -6,7 +6,7 @@ RUN: llvm-readobj --file-headers --sections --symbols %t2 | FileCheck %s
 RUN: llvm-readelf --symbols %t2 | FileCheck --check-prefix=SYMS %s
 
 ## The ELF header should have e_shnum == 0 and e_shstrndx == SHN_XINDEX.
-# CHECK:        SectionHeaderCount: 0
+# CHECK:        SectionHeaderCount: 0 (65540)
----------------
jh7370 wrote:

Is this change actually related to the code changes you've made, or is it just tightening up the test and is already the current behaviour? If the latter, please put it in a separate PR.

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


More information about the llvm-commits mailing list