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

Side by Side Diff: tests_lit/llvm2ice_tests/elf_container.ll

Issue 1179313004: Fix a bug that would cause subzero to fail when --threads=0. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Addresses codereview comments. Created 5 years, 6 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 | « src/IceTranslator.cpp ('k') | no next file » | 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 with fields that make sense, 1 ; Tests that we generate an ELF container with fields that make sense,
2 ; cross-validating against llvm-mc. 2 ; cross-validating against llvm-mc.
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 --filetype=obj --args -O2 --verbose none -o %t \ 6 ; RUN: %p2i -i %s --filetype=obj --args -O2 --verbose none -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: %if --need=allow_dump --command %p2i -i %s --args -O2 --verbose none \ 10 ; RUN: %if --need=allow_dump --command %p2i -i %s --args -O2 --verbose none \
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 ; CHECK: } 263 ; CHECK: }
264 ; CHECK: Section { 264 ; CHECK: Section {
265 ; CHECK: Index: {{[1-9][0-9]*}} 265 ; CHECK: Index: {{[1-9][0-9]*}}
266 ; CHECK: Name: .rodata 266 ; CHECK: Name: .rodata
267 ; CHECK: Type: SHT_PROGBITS 267 ; CHECK: Type: SHT_PROGBITS
268 ; CHECK: Flags [ (0x2) 268 ; CHECK: Flags [ (0x2)
269 ; CHECK: SHF_ALLOC 269 ; CHECK: SHF_ALLOC
270 ; CHECK: ] 270 ; CHECK: ]
271 ; CHECK: Address: 0x0 271 ; CHECK: Address: 0x0
272 ; CHECK: Offset: 0x{{[1-9A-F][0-9A-F]*}} 272 ; CHECK: Offset: 0x{{[1-9A-F][0-9A-F]*}}
273 ; Size is 56 instead of 48 due to __Sz_block_profile_info . 273 ; CHECK: Size: 48
274 ; CHECK: Size: 56
275 ; CHECK: Link: 0 274 ; CHECK: Link: 0
276 ; CHECK: Info: 0 275 ; CHECK: Info: 0
277 ; CHECK: AddressAlignment: 32 276 ; CHECK: AddressAlignment: 32
278 ; CHECK: EntrySize: 0 277 ; CHECK: EntrySize: 0
279 ; CHECK: SectionData ( 278 ; CHECK: SectionData (
280 ; CHECK: 0000: 616203FF F66667{{.*}} |ab...fg 279 ; CHECK: 0000: 616203FF F66667{{.*}} |ab...fg
281 ; CHECK: ) 280 ; CHECK: )
282 ; CHECK: } 281 ; CHECK: }
283 ; CHECK: Section { 282 ; CHECK: Section {
284 ; CHECK: Index: {{[1-9][0-9]*}} 283 ; CHECK: Index: {{[1-9][0-9]*}}
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
639 ; CHECK: Symbol { 638 ; CHECK: Symbol {
640 ; CHECK: Name: memset 639 ; CHECK: Name: memset
641 ; CHECK-NEXT: Value: 0x0 640 ; CHECK-NEXT: Value: 0x0
642 ; CHECK-NEXT: Size: 0 641 ; CHECK-NEXT: Size: 0
643 ; CHECK-NEXT: Binding: Global 642 ; CHECK-NEXT: Binding: Global
644 ; CHECK-NEXT: Type: None 643 ; CHECK-NEXT: Type: None
645 ; CHECK-NEXT: Other: 0 644 ; CHECK-NEXT: Other: 0
646 ; CHECK-NEXT: Section: Undefined 645 ; CHECK-NEXT: Section: Undefined
647 ; CHECK-NEXT: } 646 ; CHECK-NEXT: }
648 ; CHECK: ] 647 ; CHECK: ]
OLDNEW
« no previous file with comments | « src/IceTranslator.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698