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

Side by Side Diff: tests_lit/llvm2ice_tests/globalinit.pnacl.ll

Issue 920953002: Subzero: Use -filetype instead of -ias and -elf-writer. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Explicitly set the output file type for unit tests 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 unified diff | Download patch
« no previous file with comments | « tests_lit/llvm2ice_tests/elf_nodata.ll ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 ; Test of global initializers. 1 ; Test of global initializers.
2 2
3 ; REQUIRES: allow_dump 3 ; REQUIRES: allow_dump
4 4
5 ; Test -ias=0 to test the lea "hack" until we are fully confident in -ias=1 5 ; Test -filetype=asm to test the lea "hack" until we are fully confident
6 ; RUN: %p2i -i %s --args --verbose none -ias=0 | FileCheck %s 6 ; in -filetype=iasm .
7 ; RUN: %p2i -i %s --args --verbose none -filetype=asm | FileCheck %s
7 8
8 ; Test -ias=1 and try to cross reference instructions w/ the symbol table. 9 ; Test -filetype=iasm and try to cross reference instructions w/ the
10 ; symbol table.
9 ; RUN: %p2i -i %s --args --verbose none \ 11 ; RUN: %p2i -i %s --args --verbose none \
10 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 12 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
11 ; RUN: | llvm-objdump -d -r --symbolize -x86-asm-syntax=intel - \ 13 ; RUN: | llvm-objdump -d -r --symbolize -x86-asm-syntax=intel - \
12 ; RUN: | FileCheck --check-prefix=IAS %s 14 ; RUN: | FileCheck --check-prefix=IAS %s
13 ; RUN: %p2i -i %s --args --verbose none \ 15 ; RUN: %p2i -i %s --args --verbose none \
14 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ 16 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \
15 ; RUN: | llvm-objdump -d -t --symbolize -x86-asm-syntax=intel - \ 17 ; RUN: | llvm-objdump -d -t --symbolize -x86-asm-syntax=intel - \
16 ; RUN: | FileCheck --check-prefix=SYMTAB %s 18 ; RUN: | FileCheck --check-prefix=SYMTAB %s
17 19
18 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 20 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { 169 define internal i32 @nacl_tp_tdb_offset(i32 %__0) {
168 entry: 170 entry:
169 ret i32 0 171 ret i32 0
170 } 172 }
171 173
172 define internal i32 @nacl_tp_tls_offset(i32 %size) { 174 define internal i32 @nacl_tp_tls_offset(i32 %size) {
173 entry: 175 entry:
174 %result = sub i32 0, %size 176 %result = sub i32 0, %size
175 ret i32 %result 177 ret i32 %result
176 } 178 }
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/elf_nodata.ll ('k') | tests_lit/llvm2ice_tests/nop-insertion.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698