Skip to content

Commit 6348ea5

Browse files
committed
[𝘀𝗽𝗿] initial version
Created using spr 1.3.4
1 parent 8361d7e commit 6348ea5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

llvm/include/llvm/IR/Intrinsics.td

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1834,7 +1834,8 @@ def int_trap : Intrinsic<[], [], [IntrNoReturn, IntrCold, IntrInaccessibleMemOnl
18341834
def int_debugtrap : Intrinsic<[]>,
18351835
ClangBuiltin<"__builtin_debugtrap">;
18361836
def int_ubsantrap : Intrinsic<[], [llvm_i8_ty],
1837-
[IntrNoReturn, IntrCold, ImmArg<ArgIndex<0>>]>;
1837+
[IntrNoReturn, IntrCold, ImmArg<ArgIndex<0>>,
1838+
IntrInaccessibleMemOnly, IntrWriteMem]>;
18381839

18391840
// Return true if ubsan check is allowed.
18401841
def int_allow_ubsan_check : DefaultAttrsIntrinsic<[llvm_i1_ty], [llvm_i8_ty],

0 commit comments

Comments
 (0)