[llvm] [llvm-readelf] Add --extra-sym-info (PR #65580)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 8 00:09:19 PDT 2023


================
@@ -13,9 +13,11 @@
 # RUN: yaml2obj %s -DBITS=64 -DTYPE=ET_REL -o %t64
 # RUN: llvm-readobj --symbols %t64 | FileCheck %s --match-full-lines --strict-whitespace --check-prefix=SYMBOLS-LLVM
 # RUN: llvm-readelf --symbols %t64 | FileCheck %s --match-full-lines --strict-whitespace --check-prefix=SYMBOLS-GNU64
+# RUN: llvm-readelf -s --extra-sym-info %t64 | FileCheck %s --match-full-lines --strict-whitespace --check-prefix=SYMBOLS-GNU64X
----------------
jh7370 wrote:

Is it worth adding a check showing that --extra-sym-info has no impact on the output for LLVM output format? That way it's a clear indication where any testing belongs, should the behaviour change in the future.

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


More information about the llvm-commits mailing list