diff options
Diffstat (limited to 'test/NaCl/Bitcode/implicit-datalayout.ll')
-rw-r--r-- | test/NaCl/Bitcode/implicit-datalayout.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/NaCl/Bitcode/implicit-datalayout.ll b/test/NaCl/Bitcode/implicit-datalayout.ll new file mode 100644 index 0000000000..5a957dffec --- /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:32{{.*}}" |