[lld] [llvm] [llvm-readelf] Print a blank line before the first hex/string dump (PR #85744)
Fangrui Song via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 19 09:33:14 PDT 2024
================
@@ -23,7 +23,9 @@
# RUN: llvm-readelf -hp1 -p2 %t | cmp %t.readelf.out -
# RUN: llvm-readelf -hp 1 -p.not_null_terminated %t | cmp %t.readelf.out -
-# CHECK: String dump of section '.strings':
+# HEADER: LoadName:
----------------
MaskRay wrote:
llvm-readobj -x .a -x .b prints two blank lines before the first Hex dump of section.
We have to test `LoadName:` to skip the first blank line (not due to hex/string dump).
https://github.com/llvm/llvm-project/pull/85744
More information about the llvm-commits
mailing list