[PATCH] D119181: [Support] Don't print stacktrace if DbgHelp.dll hasn't been loaded yet
Andy Yankovsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 8 02:07:49 PST 2022
werat added a comment.
In D119181#3302485 <https://reviews.llvm.org/D119181#3302485>, @aganea wrote:
> Maybe take a look at `llvm/unittests/Support/ProgramTest.cpp` (for example `TestExecuteAndWaitTimeout`). You should be able to start the executable again with an extra env. variable which prevents the call to `PrintStackTraceOnErrorSignal` in `llvm/utils/unittest/UnitTestMain/TestMain.cpp`.
I've added a test and verified that on Windows it fails without the safeguard in `Signals.inc`. Thanks for the pointer!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D119181/new/
https://reviews.llvm.org/D119181
More information about the llvm-commits
mailing list