File tree 4 files changed +7
-6
lines changed
4 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ Symbols:
51
51
## Relocation refers to a symbol with index larger than
52
52
## symbol table size. Check we report it.
53
53
# RUN: yaml2obj --docnum=3 %s -o %t2.o
54
- # RUN: not ld.lld %t2.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR3
54
+ # RUN: env LLD_IN_TEST=1 not ld.lld %t2.o -o /dev/null 2>&1 | FileCheck %s --check-prefix=ERR3
55
55
# ERR3: error: {{.*}}.o: invalid symbol index
56
56
57
57
--- !ELF
Original file line number Diff line number Diff line change 1
1
; REQUIRES: x86, shell
2
+ ; UNSUPPORTED: main-run-twice
2
3
3
4
; RUN: opt -module-hash -module-summary %s -o %t.o
4
5
; RUN: opt -module-hash -module-summary %p/Inputs/cache.ll -o %t2.o
Original file line number Diff line number Diff line change @@ -24,13 +24,13 @@ define void @barrier() {
24
24
; ATOMIC-NEXT: ret void
25
25
26
26
; Check that invalid passes are rejected gracefully.
27
- ; RUN: not --crash ld.lld -m elf_x86_64 %t.o -o /dev/null \
27
+ ; RUN: env LLD_IN_TEST=1 not --crash ld.lld -m elf_x86_64 %t.o -o /dev/null \
28
28
; RUN: --lto-newpm-passes=iamnotapass -shared 2>&1 | \
29
29
; RUN: FileCheck %s --check-prefix=INVALID
30
30
; INVALID: unable to parse pass pipeline description 'iamnotapass': unknown pass name 'iamnotapass'
31
31
32
32
; Check that invalid AA pipelines are rejected gracefully.
33
- ; RUN: not --crash ld.lld -m elf_x86_64 %t.o -o /dev/null \
33
+ ; RUN: env LLD_IN_TEST=1 not --crash ld.lld -m elf_x86_64 %t.o -o /dev/null \
34
34
; RUN: --lto-newpm-passes=globaldce --lto-aa-pipeline=patatino \
35
35
; RUN: -shared 2>&1 | \
36
36
; RUN: FileCheck %s --check-prefix=INVALIDAA
Original file line number Diff line number Diff line change 1
1
; REQUIRES: x86
2
2
; RUN: llvm-as %s -o %t.o
3
- ; RUN: ld.lld %t.o -o %t2 --lto-debug-pass-manager \
3
+ ; RUN: env LLD_IN_TEST=1 ld.lld %t.o -o %t2 --lto-debug-pass-manager \
4
4
; RUN: 2>&1 | FileCheck -check-prefix=DEFAULT-NPM %s
5
- ; RUN: ld.lld %t.o -o %t2 --lto-debug-pass-manager \
5
+ ; RUN: env LLD_IN_TEST=1 ld.lld %t.o -o %t2 --lto-debug-pass-manager \
6
6
; RUN: -disable-verify 2>&1 | FileCheck -check-prefix=DISABLE-NPM %s
7
- ; RUN: ld.lld %t.o -o %t2 --lto-debug-pass-manager \
7
+ ; RUN: env LLD_IN_TEST=1 ld.lld %t.o -o %t2 --lto-debug-pass-manager \
8
8
; RUN: --plugin-opt=disable-verify 2>&1 | FileCheck -check-prefix=DISABLE-NPM %s
9
9
10
10
target triple = "x86_64-unknown-linux-gnu"
You can’t perform that action at this time.
0 commit comments