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 1111
1212## Check we are reporting the error correctly and don't crash
1313## 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
1615# ERR: error: --defsym: syntax error: ERR+
1716
1817# CHECK-DAG: 0000000000000123 0 NOTYPE GLOBAL DEFAULT ABS foo1
2726# RUN: ld.lld -o %t %t.o --defsym=foo2=1
2827# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=ABS
2928
30- # ABS: 0000000000000123 0 NOTYPE GLOBAL DEFAULT ABS foo2
29+ # ABS: 0000000000000001 0 NOTYPE GLOBAL DEFAULT ABS foo2
3130
3231# RUN: ld.lld -o %t %t.o --defsym=foo2=foo1+5
3332# RUN: llvm-readelf -s %t | FileCheck %s --check-prefix=EXPR
You can’t perform that action at this time.
0 commit comments