- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I'm trying to compile my application with ASAN, but I'm getting 3 errors;
lld-link : error : undefined symbol: __asan_set_shadow_private
lld-link : error : undefined symbol: __asan_set_shadow_static_local
lld-link : error : undefined symbol: __asan_unpoison_shadow_static_local
I'm using Windows 11, latest VS 2022 and latest Intel C++ Compiler. My project target is X64 Windows EXE application and configured MT linking.
I thought the problem might be due to the MT compilation, but when I compiled another application with Clang toolkit on VS 2022, I was able to link ASAN.
I'm using /fsanitize=address and including these libs from Linker -> Input -> Additional Dependencies;
clang_rt.asan_dynamic-x86_64.lib
clang_rt.asan_static_runtime_thunk-x86_64.lib
any solution for this? thanks!
Link Copied
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page