[llvm] [llvm-objcopy] Add change-section-lma *+/-offset (PR #95431)
Eleanor Bonnici via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 04:43:18 PDT 2024
================
@@ -1,32 +1,45 @@
# RUN: yaml2obj %s -o %t
# RUN: llvm-objcopy --change-section-lma *+0x20 %t %t2
-# RUN: llvm-readelf -l %t2 | FileCheck %s --check-prefix=CHECK-PLUS
+# RUN: llvm-readelf --program-headers %t2 | FileCheck %s --check-prefix=CHECK-PLUS-PROGRAMS
+# RUN: llvm-readelf --section-headers %t2 | FileCheck %s --check-prefix=CHECK-PLUS-SECTIONS
----------------
eleanor-arm wrote:
Yes the original version had them in one command but I "simplified" it by having two separate commands. I think it makes it clearly to see what is being checked.
https://github.com/llvm/llvm-project/pull/95431
More information about the llvm-commits
mailing list