You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In clang/lib/Driver/Tools.cpp addSanitizerDynamicList(), clang uses the --dynamic-list option, and my so check-asan in my self-hosted llvm/clang/lld test fails.
From the ld man page --dynamic-list is documented as:
--dynamic-list=dynamic-list-file
Specify the name of a dynamic list file to the linker. This is
typically used when creating shared libraries to specify a list of
global symbols whose references shouldn't be bound to the
definition within the shared library, or creating dynamically
linked executables to specify a list of symbols which should be
added to the symbol table in the executable. This option is only
meaningful on ELF platforms which support shared libraries.
The text was updated successfully, but these errors were encountered:
Extended Description
In clang/lib/Driver/Tools.cpp addSanitizerDynamicList(), clang uses the --dynamic-list option, and my so check-asan in my self-hosted llvm/clang/lld test fails.
FAILED: cd /tank/emaste/src/llvm/build-nodebug/projects/compiler-rt/lib/asan/tests && /tank/emaste/src/llvm/build-nodebug/./bin/clang ASAN_INST_TEST_OBJECTS.gtest-all.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_asm_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_globals_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_interface_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_oob_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_mem_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_str_test.cc.x86_64-inline.o ASAN_INST_TEST_OBJECTS.asan_test_main.cc.x86_64-inline.o -o /tank/emaste/src/llvm/build-nodebug/projects/compiler-rt/lib/asan/tests/default/Asan-x86_64-inline-Test -Wl,-z,origin -Wl,-allow-shlib-undefined --driver-mode=g++ -fsanitize=address -m64
warning: unknown argument: --dynamic-list=/tank/emaste/src/llvm/build-nodebug/bin/../lib/clang/3.9.0/lib/freebsd/libclang_rt.asan-x86_64.a.syms
From the ld man page --dynamic-list is documented as:
The text was updated successfully, but these errors were encountered: