[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


================
@@ -143,64 +143,67 @@ FileHeader:
 # RUN: yaml2obj %s --docnum=4 -o %t.invalid1
 # RUN: not llvm-readobj --file-headers %t.invalid1 2>&1 \
 # RUN:  | FileCheck %s --implicit-check-not=warning: -DFILE=%t.invalid1 \
-# RUN:    -DSECHDRCOUNT=8192 -DSECHDRSTRTABINDEX=12288 --check-prefix=INVALID-LLVM
+# RUN:    -DSECHDRCOUNT=8192 -DSECHDRSTRTABINDEX=12288 --check-prefix=INVALID-LLVM-TC1
----------------
jh7370 wrote:

`-TC1` is a meaningless suffix. Instead, rename the whole prefix to better describe the specific case that you're interested in, e.g. something like `BAD-SHOFF-LLVM`. I'd also add a comment at the start of each test case explaining what the case is testing.

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


More information about the llvm-commits mailing list