OSDN Git Service

Revert "[Windows] Simplify assertion code. NFC."
authorReid Kleckner <rnk@google.com>
Mon, 11 Jan 2016 21:07:48 +0000 (21:07 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 11 Jan 2016 21:07:48 +0000 (21:07 +0000)
commit0bd34e693f223908930aa924e28e4cf23ba46c24
tree9d041d7482b9b7ea2f2632fd111681a4bb2d42fb
parent169ee125af6726b4f2b89434b4bef17f8202741e
Revert "[Windows] Simplify assertion code. NFC."

This reverts commit r254363.

load64BitDebugHelp() has the side effect of loading dbghelp and setting
globals. It should be called in no-asserts builds as well as debug
builds.

llvm_unreachable is also not appropriate here, since we actually want to
return if dbghelp couldn't be loaded in a non-asserts build.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257384 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Support/Windows/Signals.inc