File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 77## Check exporting only one symbol.
88# RUN: echo '{ foo1; };' > %t.list
99# RUN: ld.lld --dynamic-list %t.list %t.o %t2.so -o %t
10- # RUN: nm -D %t | FileCheck %s --implicit-check-not=foo
10+ # RUN: llvm- nm -D %t | FileCheck %s --implicit-check-not=foo
1111
1212## And now using quoted strings (the output is the same since it does not
1313## use any wildcard character).
2626## Now export all the foo1, foo2, and foo31 symbols
2727# RUN: echo "{ foo1; foo2; foo31; };" > %t.list
2828# RUN: ld.lld --dynamic-list %t.list %t.o %t2.so -o %t
29- # RUN: nm -D %t | FileCheck --check-prefix=CHECK2 %s --implicit-check-not=foo
29+ # RUN: llvm- nm -D %t | FileCheck --check-prefix=CHECK2 %s --implicit-check-not=foo
3030# RUN: echo "{ foo1; foo2; };" > %t1.list
3131# RUN: echo "{ foo31; };" > %t2.list
3232# RUN: ld.lld --dynamic-list %t1.list --dynamic-list %t2.list %t.o %t2.so -o %t2
3939## --export-dynamic is similar to --dynamic-list with '{ * }'
4040# RUN: echo "{ foo2; };" > %t.list
4141# RUN: ld.lld --dynamic-list %t.list --export-dynamic %t.o %t2.so -o %t
42- # RUN: nm -D %t | FileCheck --check-prefix=CHECK3 %s --implicit-check-not=foo
42+ # RUN: llvm- nm -D %t | FileCheck --check-prefix=CHECK3 %s --implicit-check-not=foo
4343
4444## The same with --export-dynamic-symbol.
4545# RUN: ld.lld --export-dynamic-symbol=foo2 --export-dynamic %t.o %t2.so -o %t2
Original file line number Diff line number Diff line change 33// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/symbol-override.s -o %t2.o
44// RUN: ld.lld -shared %t2.o -o %t2.so
55// RUN: ld.lld %t1.o %t2.so -o %t
6- // RUN: nm -D %t | FileCheck %s
6+ // RUN: llvm- nm -D %t | FileCheck %s
77
88// CHECK: do
99// CHECK-NEXT: foo
You can’t perform that action at this time.
0 commit comments