[PATCH] D86694: [scudo] Allow -fsanitize=scudo on Linux and Windows (WIP, don't land as is)

Russell Gallop via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 06:40:40 PST 2021


russell.gallop added a comment.

I believe that the MCJIT failures are due to bug https:/bugs.llvm.org/show_bug.cgi?id=24978 rather than a problem in the Scudo port so I have added details of how I hit it to that bugzilla and opened two reviews to get this landed:
https://reviews.llvm.org/D96120 - [scudo] Port scudo sanitizer to Windows
https://reviews.llvm.org/D96133 - Allow building with scudo memory allocator on Windows

Please can you take a look?

I have not added the LLVM_USE_SANITIZER support for scudo from this review. -fsanitize adds scudo libraries when the linker is driven from clang, and the LLVM cmake build on Windows uses link.exe directly so this doesn't help. And scudo sanitizer is planned to go away so I didn't think it made sense to add that support on Linux either.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D86694/new/

https://reviews.llvm.org/D86694



More information about the llvm-commits mailing list