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 7
7
## Check exporting only one symbol.
8
8
# RUN: echo '{ foo1; };' > %t.list
9
9
# 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
11
11
12
12
## And now using quoted strings (the output is the same since it does not
13
13
## use any wildcard character).
26
26
## Now export all the foo1, foo2, and foo31 symbols
27
27
# RUN: echo "{ foo1; foo2; foo31; };" > %t.list
28
28
# 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
30
30
# RUN: echo "{ foo1; foo2; };" > %t1.list
31
31
# RUN: echo "{ foo31; };" > %t2.list
32
32
# RUN: ld.lld --dynamic-list %t1.list --dynamic-list %t2.list %t.o %t2.so -o %t2
39
39
## --export-dynamic is similar to --dynamic-list with '{ * }'
40
40
# RUN: echo "{ foo2; };" > %t.list
41
41
# 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
43
43
44
44
## The same with --export-dynamic-symbol.
45
45
# 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 3
3
// RUN: llvm-mc -filetype=obj -triple=x86_64-unknown-linux %p/Inputs/symbol-override.s -o %t2.o
4
4
// RUN: ld.lld -shared %t2.o -o %t2.so
5
5
// RUN: ld.lld %t1.o %t2.so -o %t
6
- // RUN: nm -D %t | FileCheck %s
6
+ // RUN: llvm- nm -D %t | FileCheck %s
7
7
8
8
// CHECK: do
9
9
// CHECK-NEXT: foo
You can’t perform that action at this time.
0 commit comments