forked from OSchip/llvm-project
[ELF] - Repair (re-enable) few ICF test cases.
--verbose is not used to report ICF sections since r324755, --print-icf-sections is used instead. These tests were at fact disabled since that time. llvm-svn: 335354
This commit is contained in:
parent
6c43488030
commit
a99b3759bf
|
@ -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
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue