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

Side by Side Diff: tests_lit/llvm2ice_tests/elf_nodata.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_container.ll ('k') | tests_lit/llvm2ice_tests/globalinit.pnacl.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 ; Tests that we generate an ELF container correctly when there 1 ; Tests that we generate an ELF container correctly when there
2 ; is no data section. 2 ; is no data section.
3 3
4 ; For the integrated ELF writer, we can't pipe the output because we need 4 ; For the integrated ELF writer, we can't pipe the output because we need
5 ; to seek backward and patch up the file headers. So, use a temporary file. 5 ; to seek backward and patch up the file headers. So, use a temporary file.
6 ; RUN: %p2i -i %s --args -O2 --verbose none -elf-writer -o %t \ 6 ; RUN: %p2i -i %s --args -O2 --verbose none -filetype=obj -o %t \
7 ; RUN: && llvm-readobj -file-headers -sections -section-data \ 7 ; RUN: && llvm-readobj -file-headers -sections -section-data \
8 ; RUN: -relocations -symbols %t | FileCheck %s 8 ; RUN: -relocations -symbols %t | FileCheck %s
9 9
10 ; RUN: %p2i -i %s --args -O2 --verbose none \ 10 ; RUN: %p2i -i %s --args -O2 --verbose none \
11 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj -o - \ 11 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj -o - \
12 ; RUN: | llvm-readobj -file-headers -sections -section-data \ 12 ; RUN: | llvm-readobj -file-headers -sections -section-data \
13 ; RUN: -relocations -symbols - | FileCheck %s 13 ; RUN: -relocations -symbols - | FileCheck %s
14 14
15 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1) 15 declare void @llvm.memcpy.p0i8.p0i8.i32(i8*, i8*, i32, i32, i1)
16 16
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 ; CHECK: Symbol { 118 ; CHECK: Symbol {
119 ; CHECK: Name: memcpy 119 ; CHECK: Name: memcpy
120 ; CHECK-NEXT: Value: 0x0 120 ; CHECK-NEXT: Value: 0x0
121 ; CHECK-NEXT: Size: 0 121 ; CHECK-NEXT: Size: 0
122 ; CHECK-NEXT: Binding: Global 122 ; CHECK-NEXT: Binding: Global
123 ; CHECK-NEXT: Type: None 123 ; CHECK-NEXT: Type: None
124 ; CHECK-NEXT: Other: 0 124 ; CHECK-NEXT: Other: 0
125 ; CHECK-NEXT: Section: Undefined 125 ; CHECK-NEXT: Section: Undefined
126 ; CHECK-NEXT: } 126 ; CHECK-NEXT: }
127 ; CHECK: ] 127 ; CHECK: ]
OLDNEW
« no previous file with comments | « tests_lit/llvm2ice_tests/elf_container.ll ('k') | tests_lit/llvm2ice_tests/globalinit.pnacl.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698