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

Alexandre Ganea via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 8 08:29:03 PST 2021


aganea added a comment.

In D86694#2463429 <https://reviews.llvm.org/D86694#2463429>, @russell.gallop wrote:

> - With scudo all lit tests (generally) pass, but there are some intermittent failures (Access Violation) on the following tests:
>
>> ExecutionEngine/MCJIT/test-global-init-nonzero-sm-pic.ll
>> ExecutionEngine/MCJIT/test-ptr-reloc-sm-pic.ll
>> ExecutionEngine/MCJIT/multi-module-sm-pic-a.ll
>
> This happens with VS2019 or clang-cl as the toolchain. I've run multiple times without scudo and don't see these. Unfortunately I haven't been able to get this to fail in a debugger.

Could you possibly comment out `sys::PrintStackTraceOnErrorSignal` in `InitLLVM.cpp`, run specifically those tests several times through LIT until they crash, and attach when the popup shows up?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86694



More information about the llvm-commits mailing list