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

Unified Diff: test/NaCl/Bitcode/implicit-datalayout.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/NaCl/Bitcode/globalvars.ll ('k') | test/NaCl/Bitcode/intrinsic-pointer-args.ll » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/NaCl/Bitcode/implicit-datalayout.ll
diff --git a/test/NaCl/Bitcode/implicit-datalayout.ll b/test/NaCl/Bitcode/implicit-datalayout.ll
new file mode 100644
index 0000000000000000000000000000000000000000..33c3de65e8d7a78c3fe9465a85c4317aca24ac6e
--- /dev/null
+++ b/test/NaCl/Bitcode/implicit-datalayout.ll
@@ -0,0 +1,9 @@
+; RUN: llvm-as < %s | pnacl-freeze | pnacl-thaw - | llvm-dis - | FileCheck %s
+
+; The "datalayout" field is considered to be implicit in the pexe. It
+; is not stored in the pexe; the reader adds it implicitly.
+;
+; The most important parts of the datalayout for PNaCl are the pointer
+; size and the endianness ("e" for little endian).
+
+; CHECK: target datalayout = "e-{{.*}}p:32:32-{{.*}}"
« no previous file with comments | « test/NaCl/Bitcode/globalvars.ll ('k') | test/NaCl/Bitcode/intrinsic-pointer-args.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698