File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
llvm/test/tools/llvm-objcopy/ELF Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
# RUN: yaml2obj %s -o %t
2
- # RUN: not llvm-objcopy --discard-locals %t %t2 2>&1 | FileCheck %s
2
+ # RUN: not llvm-objcopy --discard-locals %t %t2 2>&1 | FileCheck %s -DFILE=%t
3
3
4
4
!ELF
5
5
FileHeader:
@@ -23,4 +23,4 @@ Symbols:
23
23
Type: STT_FUNC
24
24
Section: .text
25
25
26
- # CHECK: not stripping symbol '.L.rel' because it is named in a relocation
26
+ # CHECK: error: '[[FILE]]': not stripping symbol '.L.rel' because it is named in a relocation
Original file line number Diff line number Diff line change 1
1
# RUN: yaml2obj %s -o %t
2
- # RUN: not llvm-objcopy -N foo %t %t2 2>&1 | FileCheck %s
2
+ # RUN: not llvm-objcopy -N foo %t %t2 2>&1 | FileCheck %s -DFILE=%t
3
3
4
4
!ELF
5
5
FileHeader:
@@ -28,4 +28,4 @@ Symbols:
28
28
Value: 0x1000
29
29
Size: 8
30
30
31
- # CHECK: not stripping symbol 'foo' because it is named in a relocation
31
+ # CHECK: error: '[[FILE]]': not stripping symbol 'foo' because it is named in a relocation
You can’t perform that action at this time.
0 commit comments