llvm / llvm/llvm-project

Add Visual Studio support for Clang-cl ASan

Open
#189,211 5 comments 0 reactions 0 assignees View on GitHub
clang-cl compiler-rt:asan platform:windows
Dominant language
LLVM
Stars
40.5k
Forks
18.7k
PR merge metrics
PR metrics pending

Description

MSVC Address Sanitizer implementation supports Visual Studio natively by default, with `ASAN_VCASAN_DEBUGGING` env variable. With clang-cl, the best you can get is memory dump or a call stack, which is a way worse user experience compared to MSVC. Please consider implementing Visual Studio support for ASan on Clang-cl in a manner similar to MSVC

https://learn.microsoft.com/en-us/cpp/sanitizers/asan?view=msvc-170

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.