diff options
author | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-10-07 18:06:48 +0000 |
---|---|---|
committer | Matt Arsenault <Matthew.Arsenault@amd.com> | 2013-10-07 18:06:48 +0000 |
commit | c4a8c07f6489c0081207f722ce0a4502614aef69 (patch) | |
tree | 50744632e73b88c6c8aa2c927ac276d1ca1be817 /include | |
parent | ca7b2d08d7b918e5e8e921a837623af962b27d00 (diff) | |
download | external_llvm-c4a8c07f6489c0081207f722ce0a4502614aef69.zip external_llvm-c4a8c07f6489c0081207f722ce0a4502614aef69.tar.gz external_llvm-c4a8c07f6489c0081207f722ce0a4502614aef69.tar.bz2 |
Change objectsize intrinsic to accept different address spaces.
Bitcasting everything to i8* won't work. Autoupgrade the old
intrinsic declarations to use the new mangling.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IR/Intrinsics.td | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/IR/Intrinsics.td b/include/llvm/IR/Intrinsics.td index 57c99d9..53341b7 100644 --- a/include/llvm/IR/Intrinsics.td +++ b/include/llvm/IR/Intrinsics.td @@ -328,7 +328,7 @@ def int_sigsetjmp : Intrinsic<[llvm_i32_ty] , [llvm_ptr_ty, llvm_i32_ty]>; def int_siglongjmp : Intrinsic<[], [llvm_ptr_ty, llvm_i32_ty], [IntrNoReturn]>; // Internal interface for object size checking -def int_objectsize : Intrinsic<[llvm_anyint_ty], [llvm_ptr_ty, llvm_i1_ty], +def int_objectsize : Intrinsic<[llvm_anyint_ty], [llvm_anyptr_ty, llvm_i1_ty], [IntrNoMem]>, GCCBuiltin<"__builtin_object_size">; |