summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/TargetInfo.h
diff options
context:
space:
mode:
authorJoerg Sonnenberger <joerg@bec.de>2015-03-04 14:25:35 +0000
committerJoerg Sonnenberger <joerg@bec.de>2015-03-04 14:25:35 +0000
commit244a577754ba359795fc52510793d729c332cf7b (patch)
treef0247e8feca54c415ac5491b7004edfd3c971e72 /clang/lib/CodeGen/TargetInfo.h
parent71f5be1ed0f8a70827b27a867945a67dc7417666 (diff)
downloadbcm5719-llvm-244a577754ba359795fc52510793d729c332cf7b.tar.gz
bcm5719-llvm-244a577754ba359795fc52510793d729c332cf7b.zip
Adjust the changes from r230255 to bail out if the backend can't lower
__builtin_setjmp/__builtin_longjmp and don't fall back to the libc functions. llvm-svn: 231245
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r--clang/lib/CodeGen/TargetInfo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h
index 87f13760e8e..0c3fdc3c8ac 100644
--- a/clang/lib/CodeGen/TargetInfo.h
+++ b/clang/lib/CodeGen/TargetInfo.h
@@ -226,9 +226,8 @@ public:
return 0;
}
- /// Control whether __builtin_longjmp / __builtin_setjmp are lowered to
- /// llvm.eh.sjlj.longjmp / llvm.eh.sjlj.setjmp or the normal library
- /// function.
+ /// Control if __builtin_longjmp / __builtin_setjmp can be lowered to
+ /// llvm.eh.sjlj.longjmp / llvm.eh.sjlj.setjmp.
virtual bool hasSjLjLowering(CodeGen::CodeGenFunction &CGF) const {
return false;
}
OpenPOWER on IntegriCloud