From fc29e256039d1af4979fd0a5c7170de84b19818b Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 4 Sep 2013 17:38:12 -0400 Subject: Lower intrinsic instruction "llvm.trap" to a call of the abort() function. --- lib/Module/Passes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/Module/Passes.h') diff --git a/lib/Module/Passes.h b/lib/Module/Passes.h index ebe89b2b..d83e57ec 100644 --- a/lib/Module/Passes.h +++ b/lib/Module/Passes.h @@ -82,7 +82,7 @@ class IntrinsicCleanerPass : public llvm::ModulePass { llvm::IntrinsicLowering *IL; bool LowerIntrinsics; - bool runOnBasicBlock(llvm::BasicBlock &b); + bool runOnBasicBlock(llvm::BasicBlock &b, llvm::Module &M); public: #if LLVM_VERSION_CODE <= LLVM_VERSION(3, 1) IntrinsicCleanerPass(const llvm::TargetData &TD, -- cgit 1.4.1