Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(379)

Unified Diff: lib/Analysis/NaCl/PNaClABIVerifyModule.cpp

Issue 14998008: Move llvm.eh.frame.cfa to the blacklist of intrinsics. (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: list the others Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/Analysis/NaCl/PNaClABIVerifyModule.cpp
diff --git a/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp b/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp
index de27d5dc388aa3b187d07acc8be05efc1fbf209e..59b95592f66d2ea096bea6797efd71c5d3d9ade5 100644
--- a/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp
+++ b/lib/Analysis/NaCl/PNaClABIVerifyModule.cpp
@@ -148,6 +148,16 @@ bool PNaClABIVerifyModule::IsWhitelistedIntrinsic(const Function* F,
// (2) Known to be never allowed.
case Intrinsic::not_intrinsic:
case Intrinsic::adjust_trampoline:
+ case Intrinsic::eh_dwarf_cfa:
+ case Intrinsic::eh_return_i32:
+ case Intrinsic::eh_return_i64:
+ case Intrinsic::eh_sjlj_callsite:
+ case Intrinsic::eh_sjlj_functioncontext:
+ case Intrinsic::eh_sjlj_longjmp:
+ case Intrinsic::eh_sjlj_lsda:
+ case Intrinsic::eh_sjlj_setjmp:
+ case Intrinsic::eh_typeid_for:
+ case Intrinsic::eh_unwind_init:
case Intrinsic::init_trampoline:
case Intrinsic::stackprotector:
case Intrinsic::vacopy:
@@ -164,7 +174,6 @@ bool PNaClABIVerifyModule::IsWhitelistedIntrinsic(const Function* F,
case Intrinsic::ctlz: // Support via compiler_rt if arch doesn't have it?
case Intrinsic::ctpop: // Support via compiler_rt if arch doesn't have it?
case Intrinsic::cttz: // Support via compiler_rt if arch doesn't have it?
- case Intrinsic::eh_dwarf_cfa: // For EH tests.
case Intrinsic::exp: // Rounding not defined: support with fast-math?
case Intrinsic::exp2: // Rounding not defined: support with fast-math?
case Intrinsic::expect: // From __builtin_expect.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698