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

Unified Diff: test/Transforms/MinSFI/allocate-data-segment-empty.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
« no previous file with comments | « test/Transforms/MinSFI/allocate-data-segment.ll ('k') | test/Transforms/MinSFI/expand-allocas.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/Transforms/MinSFI/allocate-data-segment-empty.ll
diff --git a/test/Transforms/MinSFI/allocate-data-segment-empty.ll b/test/Transforms/MinSFI/allocate-data-segment-empty.ll
new file mode 100644
index 0000000000000000000000000000000000000000..7b366976a273ef9d4cb452b3c7e3cebc5f032d06
--- /dev/null
+++ b/test/Transforms/MinSFI/allocate-data-segment-empty.ll
@@ -0,0 +1,12 @@
+; RUN: opt %s -minsfi-allocate-data-segment -S | FileCheck %s
+
+target datalayout = "p:32:32:32"
+target triple = "le32-unknown-nacl"
+
+define void @foo() {
+ ret void
+}
+
+; CHECK: %__sfi_data_segment = type <{}>
+; CHECK: @__sfi_data_segment = constant %__sfi_data_segment zeroinitializer
+; CHECK: @__sfi_data_segment_size = constant i32 0
« no previous file with comments | « test/Transforms/MinSFI/allocate-data-segment.ll ('k') | test/Transforms/MinSFI/expand-allocas.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698