
Mold prefers the suffix '$' for symbols like PLT and GOT entries, so exclude these symbols as well. Otherwise, this test will fail for developers using mold-linked Clang. Closes https://github.com/llvm/llvm-project/issues/76982
7 lines
322 B
Plaintext
7 lines
322 B
Plaintext
# Check that there are no unversioned clang symbols in libclang.so
|
|
RUN: llvm-nm -Dj --defined-only %libclang | grep -v -e '@@LLVM_[0-9]\+$' | not grep '^clang'
|
|
|
|
# Check that there are no local clang_ symbols (ignoring symbols with .cold or
|
|
# .localalias suffxies.)
|
|
RUN: llvm-nm %libclang | not grep '[a-z] clang_[^.$]\+$'
|