diff options
author | Chris Lattner <sabre@nondot.org> | 2004-01-05 05:36:30 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2004-01-05 05:36:30 +0000 |
commit | 77b1330ece6ea40b3b7700fe13e2ca64bd494203 (patch) | |
tree | de5deb5f5cfa5717d11574527f114fa0d31be2f6 /lib/VMCore/Verifier.cpp | |
parent | 6ac18751a670ba98d3fb75d5d06998e558704768 (diff) | |
download | external_llvm-77b1330ece6ea40b3b7700fe13e2ca64bd494203.zip external_llvm-77b1330ece6ea40b3b7700fe13e2ca64bd494203.tar.gz external_llvm-77b1330ece6ea40b3b7700fe13e2ca64bd494203.tar.bz2 |
Add VMCore and code generator support for debugging intrinsics. By default
code generators completely ignore them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10691 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Verifier.cpp')
-rw-r--r-- | lib/VMCore/Verifier.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/VMCore/Verifier.cpp b/lib/VMCore/Verifier.cpp index 98288f4..3e59e65 100644 --- a/lib/VMCore/Verifier.cpp +++ b/lib/VMCore/Verifier.cpp @@ -548,6 +548,11 @@ void Verifier::visitIntrinsicFunctionCall(Intrinsic::ID ID, CallInst &CI) { case Intrinsic::longjmp: NumArgs = 2; break; case Intrinsic::sigsetjmp: NumArgs = 2; break; case Intrinsic::siglongjmp: NumArgs = 2; break; + + case Intrinsic::dbg_stoppoint: NumArgs = 4; break; + case Intrinsic::dbg_region_start:NumArgs = 1; break; + case Intrinsic::dbg_region_end: NumArgs = 1; break; + case Intrinsic::dbg_func_start: NumArgs = 1; break; case Intrinsic::alpha_ctlz: NumArgs = 1; break; case Intrinsic::alpha_cttz: NumArgs = 1; break; |