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

Unified Diff: test/Transforms/MinSFI/rename-entry-point-startminsfi-exists.ll

Issue 939073008: Rebased PNaCl localmods in LLVM to 223109 (Closed)
Patch Set: undo localmod Created 5 years, 10 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
Index: test/Transforms/MinSFI/rename-entry-point-startminsfi-exists.ll
diff --git a/test/Transforms/MinSFI/rename-entry-point-startminsfi-exists.ll b/test/Transforms/MinSFI/rename-entry-point-startminsfi-exists.ll
new file mode 100644
index 0000000000000000000000000000000000000000..388aaea0e86b488e59325ab8882205bf5e715548
--- /dev/null
+++ b/test/Transforms/MinSFI/rename-entry-point-startminsfi-exists.ll
@@ -0,0 +1,12 @@
+; RUN: not opt %s -minsfi-rename-entry-point -S 2>&1 | FileCheck %s
+
+target datalayout = "p:32:32:32"
+target triple = "le32-unknown-nacl"
+
+@_start_minsfi = constant i32 1234
+
+define i32 @_start() {
+ ret i32 0
+}
+
+; CHECK: RenameEntryPoint: The module already contains a value named '_start_minsfi'
« no previous file with comments | « test/Transforms/MinSFI/rename-entry-point-no-start.ll ('k') | test/Transforms/MinSFI/sandbox-indirect-calls.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698