[llvm-dev] [cfe-dev] AddressSanitizer

Nathan James via llvm-dev llvm-dev at lists.llvm.org
Fri Nov 20 05:22:26 PST 2020


Hi Bryan,

Clang doesn't seem to play nicely when using GCC ASAN, It should work
fine using clang as the host compiler though.

~Nathan

On Tue, 2020-10-20 at 10:38 -0400, Bryan Chan via cfe-dev wrote:
> Hi lists,
> 
> I am encountering a large number of check-clang failures after
> building Clang/LLVM with -DLLVM_USE_SANITIZER=Address. I have
> reported the issue on Bugzilla (
> https://bugs.llvm.org/show_bug.cgi?id=47678). I cannot even
> compile helloworld.c with the resulting clang tool without a lot of
> false positives from ASan. Is it because I am not supposed to use
> GCC's AddressSanitizer when building Clang?
> 
> --
> Bryan
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev



More information about the llvm-dev mailing list