[lld] fa3231e - [COFF][test] Fix llvm-readobj tests

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 16 13:28:53 PDT 2021


Author: Fangrui Song
Date: 2021-07-16T13:28:46-07:00
New Revision: fa3231eb1810500a4d34d9daa6403dae4f5921b8

URL: https://github.com/llvm/llvm-project/commit/fa3231eb1810500a4d34d9daa6403dae4f5921b8
DIFF: https://github.com/llvm/llvm-project/commit/fa3231eb1810500a4d34d9daa6403dae4f5921b8.diff

LOG: [COFF][test] Fix llvm-readobj tests

Added: 
    

Modified: 
    lld/test/COFF/secidx-absolute.s
    lld/test/COFF/secrel-common.s

Removed: 
    


################################################################################
diff  --git a/lld/test/COFF/secidx-absolute.s b/lld/test/COFF/secidx-absolute.s
index 8befaf2f456c3..7d3b4b27fc4bb 100644
--- a/lld/test/COFF/secidx-absolute.s
+++ b/lld/test/COFF/secidx-absolute.s
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
 # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe
-# RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s
+# RUN: llvm-readobj %t.exe --sections --section-data | FileCheck %s
 
 # Section relocations against absolute symbols resolve to the last real output
 # section index plus one.

diff  --git a/lld/test/COFF/secrel-common.s b/lld/test/COFF/secrel-common.s
index 0d3aafcad001e..6155634b32aa2 100644
--- a/lld/test/COFF/secrel-common.s
+++ b/lld/test/COFF/secrel-common.s
@@ -1,7 +1,7 @@
 # REQUIRES: x86
 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj
 # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe
-# RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s
+# RUN: llvm-readobj %t.exe --sections --section-data | FileCheck %s
 
 # Section relocations against common symbols resolve to .bss (merged into .data).
 


        


More information about the llvm-commits mailing list