diff options
-rw-r--r-- | lld/test/ELF/icf3.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/icf4.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/icf5.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/icf6.s | 2 | ||||
-rw-r--r-- | lld/test/ELF/icf9.s | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/lld/test/ELF/icf3.s b/lld/test/ELF/icf3.s index d2a7b40d92f..3e5c5699b22 100644 --- a/lld/test/ELF/icf3.s +++ b/lld/test/ELF/icf3.s @@ -2,7 +2,7 @@ # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t1 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/icf2.s -o %t2 -# RUN: ld.lld %t1 %t2 -o %t --icf=all --verbose 2>&1 | FileCheck %s +# RUN: ld.lld %t1 %t2 -o %t --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s # CHECK-NOT: selected section '.text.f1' from file # CHECK-NOT: selected section '.text.f2' from file diff --git a/lld/test/ELF/icf4.s b/lld/test/ELF/icf4.s index b44e71e83ca..185b105949a 100644 --- a/lld/test/ELF/icf4.s +++ b/lld/test/ELF/icf4.s @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t -# RUN: ld.lld %t -o %t2 --icf=all --verbose 2>&1 | FileCheck %s +# RUN: ld.lld %t -o %t2 --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s # CHECK-NOT: selected section '.text.f1' # CHECK-NOT: selected section '.text.f2' diff --git a/lld/test/ELF/icf5.s b/lld/test/ELF/icf5.s index bdc28c1c2c5..13fe194654a 100644 --- a/lld/test/ELF/icf5.s +++ b/lld/test/ELF/icf5.s @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t -# RUN: ld.lld %t -o %t2 --icf=all --verbose 2>&1 | FileCheck %s +# RUN: ld.lld %t -o %t2 --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s # CHECK-NOT: selected section '.text.f1' # CHECK-NOT: selected section '.text.f2' diff --git a/lld/test/ELF/icf6.s b/lld/test/ELF/icf6.s index 97449ca6530..91b6f48bd0d 100644 --- a/lld/test/ELF/icf6.s +++ b/lld/test/ELF/icf6.s @@ -1,7 +1,7 @@ # REQUIRES: x86 # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t -# RUN: ld.lld %t -o %t2 --icf=all --verbose 2>&1 | FileCheck %s +# RUN: ld.lld %t -o %t2 --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s # CHECK-NOT: selected section '.text.f1' # CHECK-NOT: selected section '.text.f2' diff --git a/lld/test/ELF/icf9.s b/lld/test/ELF/icf9.s index 3a8bb4bc725..80926770049 100644 --- a/lld/test/ELF/icf9.s +++ b/lld/test/ELF/icf9.s @@ -2,7 +2,7 @@ ### Make sure that we do not merge data. # RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %s -o %t -# RUN: ld.lld %t -o %t2 --icf=all --verbose --print-icf-sections 2>&1 | FileCheck %s +# RUN: ld.lld %t -o %t2 --icf=all --print-icf-sections 2>&1 | FileCheck -allow-empty %s # RUN: llvm-readelf -S -W %t2 | FileCheck --check-prefix=SEC %s # SEC: .rodata PROGBITS 0000000000200120 000120 000002 00 A 0 0 1 |