File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 11
11
12
12
## Check we are reporting the error correctly and don't crash
13
13
## when handling the second --defsym.
14
- # RUN: not ld.lld -o /dev/null %t.o --defsym ERR+ \
15
- # --defsym foo2=foo1 2>&1 | FileCheck %s --check-prefix=ERR
14
+ # RUN: not ld.lld -o /dev/null %t.o --defsym ERR+ --defsym foo2=foo1 2>&1 | FileCheck %s --check-prefix=ERR
16
15
# ERR: error: --defsym: syntax error: ERR+
17
16
18
17
# CHECK-DAG: 0000000000000123 0 NOTYPE GLOBAL DEFAULT ABS foo1
27
26
# RUN: ld.lld -o %t %t.o --defsym=foo2=1
28
27
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=ABS
29
28
30
- # ABS: 0000000000000123 0 NOTYPE GLOBAL DEFAULT ABS foo2
29
+ # ABS: 0000000000000001 0 NOTYPE GLOBAL DEFAULT ABS foo2
31
30
32
31
# RUN: ld.lld -o %t %t.o --defsym=foo2=foo1+5
33
32
# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=EXPR
You can’t perform that action at this time.
0 commit comments