diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-29 07:47:04 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2011-11-29 07:47:04 +0000 |
commit | 573ea9683113064d8d72b9f6a119a63136860181 (patch) | |
tree | 4a0d32253a7f387064a1546adab6d00d5afaa021 /lib/Lex/ModuleMap.cpp | |
parent | b8cb21c57e8248c741b5f81f2aeb3c2c0d569c81 (diff) |
[Win32] Catch exceptions (eg. segfault) on waiting for invoked clang from the driver.
clang/lib/Driver/Driver.cpp: Don't pass through negative exit status, or parent would be confused.
llvm::sys::Program::Wait(): Suppose 0x8000XXXX and 0xC000XXXX as abnormal exit code and pass it as negative value.
Win32 Exception Handler: Exit with ExceptionCode on an unhandle exception.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@145389 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions