[lld] [llvm] [llvm-readelf] Print more information for RELR (PR #89162)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 09:18:37 PDT 2024
================
@@ -240,12 +245,15 @@ Symbols:
# RUN: llvm-readelf --relocations --raw-relr %t2.has.link 2>&1 | \
# RUN: FileCheck -DFILE=%t2.has.link --check-prefix=RAW-GNU2 %s
-# RUN: yaml2obj --docnum=3 %s -o %t3
-# RUN: llvm-readelf -r %t3 2>&1 | FileCheck -DFILE=%t3 --check-prefix=GNU3 %s
-
## .symtab is invalid. Check we report a warning and print entries without symbolization.
+# RUN: yaml2obj --docnum=3 -DENTSIZE=1 %s -o %t3.err1
+# RUN: llvm-readelf -r %t3.err1 2>&1 | FileCheck -DFILE=%t3.err1 --check-prefixes=GNU3,GNU3-ERR1 %s
----------------
MaskRay wrote:
Thanks for catching this. Added and added some `-NOT:{{.}}` to enhance tests.
https://github.com/llvm/llvm-project/pull/89162
More information about the llvm-commits
mailing list