History log of /llvm-project/llvm/unittests/Support/CrashRecoveryTest.cpp (Results 26 – 30 of 30)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 1887dd89 24-May-2017 Vitaly Buka <vitalybuka@google.com>

Prevent UBSan report in CrashRecovery tests
Reverted by mistake with r303783.

llvm-svn: 303785


# c98741c7 24-May-2017 Vitaly Buka <vitalybuka@google.com>

Revert "Attempt to pacify ASan and UBSan reports in CrashRecovery tests"

It's not needed after r303729.

This reverts commit r303311.

llvm-svn: 303783


# cde4b3f4 17-May-2017 Reid Kleckner <rnk@google.com>

Attempt to pacify ASan and UBSan reports in CrashRecovery tests

llvm-svn: 303311


# 710c1ceb 17-May-2017 Reid Kleckner <rnk@google.com>

Re-land r303274: "[CrashRecovery] Use SEH __try instead of VEH when available"

We have to check gCrashRecoveryEnabled before using __try.

In other words, SEH works too well and we ended up recoveri

Re-land r303274: "[CrashRecovery] Use SEH __try instead of VEH when available"

We have to check gCrashRecoveryEnabled before using __try.

In other words, SEH works too well and we ended up recovering from
crashes in implicit module builds that we weren't supposed to. Only
libclang is supposed to enable CrashRecoveryContext to allow implicit
module builds to crash.

llvm-svn: 303279

show more ...


# 91fea018 17-May-2017 Reid Kleckner <rnk@google.com>

[CrashRecovery] Use SEH __try instead of VEH when available

Summary:
It avoids problems when other libraries raise exceptions. In particular,
OutputDebugString raises an exception that the debugger

[CrashRecovery] Use SEH __try instead of VEH when available

Summary:
It avoids problems when other libraries raise exceptions. In particular,
OutputDebugString raises an exception that the debugger is supposed to
catch and suppress. VEH kicks in first right now, and that is entirely
incorrect.

Unfortunately, GCC does not support SEH, so I've kept the old buggy VEH
codepath around. We could fix it with SetUnhandledExceptionFilter, but
that is not per-thread, so a well-behaved library shouldn't set it.

Reviewers: zturner

Subscribers: llvm-commits, mgorny

Differential Revision: https://reviews.llvm.org/D33261

llvm-svn: 303274

show more ...


12