File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 24
24
// Note: When there is no code in a program, we expect to see the exact same
25
25
// set of external functions provided by the profile runtime.
26
26
27
- // RUN: %clang_profgen -fcoverage-mapping -ffunction-sections -fdata-sections -Wl,--gc-sections -shared -o %t.nocode.so %s
27
+ // RUN: %clang_profgen -fuse-ld=lld - fcoverage-mapping -ffunction-sections -fdata-sections -Wl,--gc-sections -shared -o %t.nocode.so %s
28
28
// RUN: llvm-nm -jgU %t.nocode.so | grep -vE "__start_.*|__stop_.*" > %t.nocode.syms
29
- // RUN: llvm-nm -jgU %t | grep -vE "main|foo| _start|__libc_.*" > %t.code.syms
29
+ // RUN: llvm-nm -jgU %t | grep -vE "main|_start|__libc_.*" > %t.code.syms
30
30
// RUN: diff %t.nocode.syms %t.code.syms
31
31
32
32
// Note: We also check the IR instrumentation and expect foo() to be garbage
You can’t perform that action at this time.
0 commit comments