llvm-project
998f586c - Teach the MSVC toolchain driver to link the correct asan libraries.

Commit
1 year ago
Teach the MSVC toolchain driver to link the correct asan libraries. Now that the static runtime is gone the required librares are different. Note that /MD or -D_DLL causes the dynamic runtime to get linked, this is a little gross but emulates the behavior of MSVC. "Real" msvc will link the debug build of asan if you specify /DEBUG or _DEBUG, but that's not really necessary and requires building multiple configurations from the same tree.
Author
Charlie Barto
Committer
Charlie Barto
Parents
Loading