Revision f3604272e140cd17aae6091dbeece9258315e027 authored by Steven Johnson on 06 October 2022, 17:21:28 UTC, committed by GitHub on 06 October 2022, 17:21:28 UTC
Running JIT code under MSAN is (still) not officially supported, as it can (and does) give false positives; that said, this PR reduces the false positives in some cases.

Specifically:
(1) if we are building a JIT shared runtime (ie, we are jitting), and we are compiling with MSAN enabled (detected via preprocessor), we should always use the real MSAN stubs, even if the Target::MSan feature has been cleared (because JITModule::make_module() clears it).
(2) Target::get_jit_from_environment() should add any detected sanitizer bits to the target sniffed from HL_JIT_TARGET
1 parent e3bbafd
History
File Mode Size
jpeg
llvm
png
spirv
wasm
CMakeLists.txt -rw-r--r-- 825 bytes

back to top