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

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

Issue 1531623007: Add option to force filetype=asm for testing (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Function parameters are now pnacl abi compliant. Created 4 years, 11 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
OLDNEW
1 ; Tests filetype=obj with -ffunction-sections. 1 ; Tests filetype=obj with -ffunction-sections.
2 2
3 ; RUN: %p2i -i %s --filetype=obj --args -O2 -o %t -ffunction-sections && \ 3 ; RUN: %p2i -i %s --filetype=obj --output %t --args -O2 -ffunction-sections && \
4 ; RUN: llvm-readobj -file-headers -sections -section-data \ 4 ; RUN: llvm-readobj -file-headers -sections -section-data \
5 ; RUN: -relocations -symbols %t | FileCheck %s 5 ; RUN: -relocations -symbols %t | FileCheck %s
6 6
7 ; RUN: %if --need=allow_dump --command \ 7 ; RUN: %if --need=allow_dump --command \
8 ; RUN: %p2i -i %s --args -O2 -ffunction-sections \ 8 ; RUN: %p2i -i %s --args -O2 -ffunction-sections \
9 ; RUN: | %if --need=allow_dump --command \ 9 ; RUN: | %if --need=allow_dump --command \
10 ; RUN: llvm-mc -triple=i686-nacl -filetype=obj -o - \ 10 ; RUN: llvm-mc -triple=i686-nacl -filetype=obj -o - \
11 ; RUN: | %if --need=allow_dump --command \ 11 ; RUN: | %if --need=allow_dump --command \
12 ; RUN: llvm-readobj -file-headers -sections -section-data \ 12 ; RUN: llvm-readobj -file-headers -sections -section-data \
13 ; RUN: -relocations -symbols - \ 13 ; RUN: -relocations -symbols - \
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 ; CHECK: 0x1C R_386_PC32 {{.*}}foo 0x0 86 ; CHECK: 0x1C R_386_PC32 {{.*}}foo 0x0
87 ; CHECK: } 87 ; CHECK: }
88 ; CHECK: ] 88 ; CHECK: ]
89 89
90 ; CHECK: Symbols [ 90 ; CHECK: Symbols [
91 ; CHECK: Name: bar 91 ; CHECK: Name: bar
92 ; CHECK: Name: foo 92 ; CHECK: Name: foo
93 ; CHECK: Name: _start 93 ; CHECK: Name: _start
94 ; CHECK: Name: memcpy 94 ; CHECK: Name: memcpy
95 ; CHECK: ] 95 ; CHECK: ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698