Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1257)

Unified Diff: test/Transforms/NaCl/replace-ptrs-with-ints.ll

Issue 1042643002: PNaCl: Strip `nonnull` attributes from pointer arguments. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-llvm.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Transforms/NaCl/ReplacePtrsWithInts.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/NaCl/replace-ptrs-with-ints.ll
diff --git a/test/Transforms/NaCl/replace-ptrs-with-ints.ll b/test/Transforms/NaCl/replace-ptrs-with-ints.ll
index aaba9da0b7dd9deffa2edc90e1fa09b1856b24e5..f53a4c4914ccdd36beb66992febd011a7407af44 100644
--- a/test/Transforms/NaCl/replace-ptrs-with-ints.ll
+++ b/test/Transforms/NaCl/replace-ptrs-with-ints.ll
@@ -490,6 +490,11 @@ define void @readonly_readnone(i8* readonly readnone) {
}
; CHECK-LABEL: define void @readonly_readnone(i32)
+define void @nonnull_ptr(i8* nonnull) {
+ ret void
+}
+; CHECK-LABEL: define void @nonnull_ptr(i32)
+
; "nounwind" should be preserved.
define void @nounwind_func_attr() nounwind {
ret void
« no previous file with comments | « lib/Transforms/NaCl/ReplacePtrsWithInts.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698