summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2015-10-01 17:00:56 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2015-10-01 17:00:56 +0000
commit1ed20db720988e8cfc21f02d35c95a61b29410b5 (patch)
treed3c4b7d9a4302efde973ffa1657f5be41e4620c8 /llvm/include
parent42ce2d3ba335fe1a3213f3538f22fc73e7ec4621 (diff)
downloadbcm5719-llvm-1ed20db720988e8cfc21f02d35c95a61b29410b5.tar.gz
bcm5719-llvm-1ed20db720988e8cfc21f02d35c95a61b29410b5.zip
Revert r248959, "[WinEH] Emit int3 after noreturn calls on Win64"
It broke; LLVM :: CodeGen__Generic__2009-11-16-BadKillsCrash.ll llvm-svn: 249032
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Target/TargetOptions.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm/include/llvm/Target/TargetOptions.h b/llvm/include/llvm/Target/TargetOptions.h
index e931ec875c0..bd696f399d5 100644
--- a/llvm/include/llvm/Target/TargetOptions.h
+++ b/llvm/include/llvm/Target/TargetOptions.h
@@ -71,7 +71,7 @@ namespace llvm {
EnableFastISel(false), PositionIndependentExecutable(false),
UseInitArray(false), DisableIntegratedAS(false),
CompressDebugSections(false), FunctionSections(false),
- DataSections(false), UniqueSectionNames(true),
+ DataSections(false), UniqueSectionNames(true), TrapUnreachable(false),
EmulatedTLS(false), FloatABIType(FloatABI::Default),
AllowFPOpFusion(FPOpFusion::Standard), Reciprocals(TargetRecip()),
JTType(JumpTable::Single),
@@ -169,6 +169,9 @@ namespace llvm {
unsigned UniqueSectionNames : 1;
+ /// Emit target-specific trap instruction for 'unreachable' IR instructions.
+ unsigned TrapUnreachable : 1;
+
/// EmulatedTLS - This flag enables emulated TLS model, using emutls
/// function in the runtime library..
unsigned EmulatedTLS : 1;
@@ -231,6 +234,7 @@ inline bool operator==(const TargetOptions &LHS,
ARE_EQUAL(EnableFastISel) &&
ARE_EQUAL(PositionIndependentExecutable) &&
ARE_EQUAL(UseInitArray) &&
+ ARE_EQUAL(TrapUnreachable) &&
ARE_EQUAL(EmulatedTLS) &&
ARE_EQUAL(FloatABIType) &&
ARE_EQUAL(AllowFPOpFusion) &&
OpenPOWER on IntegriCloud