[PATCH] D86694: [scudo] Allow -fsanitize=scudo on Linux and Windows (WIP, don't land as is)
Russell Gallop via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Feb 2 10:00:40 PST 2021
russell.gallop added a comment.
I managed to get this to fail in the debugger (for the cross-module-sm-pic-a.ll test):
000001655e9d001e() Unknown
000001655e9d0019() Unknown
0000017e5eb6b410() Unknown
0000017c5eb63810() Unknown
0000017e5eb6b410() Unknown
0000017e5eb6b410() Unknown
0000016f5eb65b58() Unknown
> lli.exe!llvm::MCJIT::runFunction(llvm::Function * F, llvm::ArrayRef<llvm::GenericValue> ArgValues) Line 578 C++
lli.exe!llvm::ExecutionEngine::runFunctionAsMain(llvm::Function * Fn, const std::vector<std::string,std::allocator<std::string>> & argv, const char * const * envp) Line 467 C++
lli.exe!main(int argc, char * * argv, char * const * envp) Line 646 C++
[Inline Frame] lli.exe!invoke_main() Line 78 C++
lli.exe!__scrt_common_main_seh() Line 288 C++
kernel32.dll!00007ffd145a7034() Unknown
ntdll.dll!00007ffd1657d0d1() Unknown
It appears to be failing within the interpreted code. Maybe this is a problem between the memory allocator and the Memory Manager.
I tried running these tests repeatedly with scudo (sanitizer) on Linux but didn't see it fail. I also tried repeating these tests with rpmalloc on Windows and didn't see the failures so it does appear to be specific to scudo on Windows. I'll keep investigating.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86694/new/
https://reviews.llvm.org/D86694
More information about the cfe-commits
mailing list