summaryrefslogtreecommitdiff
path: root/include/clang
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2015-07-08 18:27:10 +0000
committerReid Kleckner <reid@kleckner.net>2015-07-08 18:27:10 +0000
commitebb999818ea5fa05299cb386c0b396b16b66232b (patch)
tree963cef177837e38ae21ee350996482ed08739eb9 /include/clang
parent0ec6ec05d5c7ca645eefe04123002c3a4b26a9ca (diff)
downloadclang-ebb999818ea5fa05299cb386c0b396b16b66232b.tar.gz
[SEH] Re-enable SEH on x86 Windows after r241699
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang')
-rw-r--r--include/clang/Basic/TargetInfo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/clang/Basic/TargetInfo.h b/include/clang/Basic/TargetInfo.h
index 2c32e8c22b..fed69a8281 100644
--- a/include/clang/Basic/TargetInfo.h
+++ b/include/clang/Basic/TargetInfo.h
@@ -812,7 +812,8 @@ public:
/// \brief Whether the target supports SEH __try.
bool isSEHTrySupported() const {
return getTriple().isOSWindows() &&
- getTriple().getArch() == llvm::Triple::x86_64;
+ (getTriple().getArch() == llvm::Triple::x86 ||
+ getTriple().getArch() == llvm::Triple::x86_64);
}
/// \brief Return true if {|} are normal characters in the asm string.