aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2007-06-18 22:23:39 +0000
committerTanya Lattner <tonic@nondot.org>2007-06-18 22:23:39 +0000
commiteff2cdfca7fc9e39728e7d152d57891c27a3bde0 (patch)
tree8c3add28d137c9d755110a239539155d0ef305e0 /include/llvm
parent66250e97eff4f9e7dd097ccc50a78446bf013a4c (diff)
downloadexternal_llvm-eff2cdfca7fc9e39728e7d152d57891c27a3bde0.tar.gz
external_llvm-eff2cdfca7fc9e39728e7d152d57891c27a3bde0.tar.bz2
external_llvm-eff2cdfca7fc9e39728e7d152d57891c27a3bde0.zip
Modify annotate intrinsic to take 2 additional args: file and line number.
Fix up Annotate attribute test case. Fix DebugFilename.c test case to look for right file name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@37632 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Intrinsics.td5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index 4b427f30a4..0f9ef6a76f 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -237,8 +237,9 @@ def int_eh_typeid_for : Intrinsic<[llvm_i32_ty, llvm_ptr_ty]>;
//===---------------- Generic Variable Attribute Intrinsics----------------===//
//
-def int_var_annotation : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_ptr_ty],
- [], "llvm.var.annotation">;
+def int_var_annotation : Intrinsic<[llvm_void_ty, llvm_ptr_ty, llvm_ptr_ty,
+ llvm_ptr_ty, llvm_i32_ty],
+ [], "llvm.var.annotation">;
//===----------------------------------------------------------------------===//
// Target-specific intrinsics