当我在 MSVC 中启用地址清理程序 (ASan) 时, 构建时出现以下链接器错误:
LINK : fatal error LNK1104: cannot open file 'clang_rt.asan_dbg_dynamic_runtime_thunk-x86_64.lib'
如何解决这个问题?
最佳答案
从Visual Studio Installer应用程序中,安装单个组件“C++ AddressSanizier”。
关于c++ - 如何链接使用 MSVC 和 AddressSanitizer 编译的程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/70546438/