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

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

Issue 1472623002: Unify alloca, outgoing arg, and prolog construction (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review fixes. Also removed StackAdjustment. Created 5 years 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/ebp_args.ll ('k') | tests_lit/llvm2ice_tests/elf_nodata.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 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 --args -O2 -o %t -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 - \
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 ; CHECK: Section { 70 ; CHECK: Section {
71 ; CHECK: Name: .rel.text._start 71 ; CHECK: Name: .rel.text._start
72 ; CHECK: Type: SHT_REL 72 ; CHECK: Type: SHT_REL
73 ; CHECK: Flags [ (0x0) 73 ; CHECK: Flags [ (0x0)
74 ; CHECK: ] 74 ; CHECK: ]
75 ; CHECK: ) 75 ; CHECK: )
76 ; CHECK: } 76 ; CHECK: }
77 77
78 ; CHECK: Relocations [ 78 ; CHECK: Relocations [
79 ; CHECK: Section ({{[0-9]+}}) .rel.text.foo { 79 ; CHECK: Section ({{[0-9]+}}) .rel.text.foo {
80 ; CHECK: 0x21 R_386_PC32 memcpy 0x0 80 ; CHECK: 0x1E R_386_PC32 memcpy 0x0
81 ; CHECK: } 81 ; CHECK: }
82 ; Relocation can be against the start of the section or 82 ; Relocation can be against the start of the section or
83 ; the function's symbol itself. 83 ; the function's symbol itself.
84 ; CHECK: Section ({{[0-9]+}}) .rel.text._start { 84 ; CHECK: Section ({{[0-9]+}}) .rel.text._start {
85 ; CHECK: 0x13 R_386_PC32 {{.*}}bar 0x0 85 ; CHECK: 0x10 R_386_PC32 {{.*}}bar 0x0
86 ; CHECK: 0x25 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
« no previous file with comments | « tests_lit/llvm2ice_tests/ebp_args.ll ('k') | tests_lit/llvm2ice_tests/elf_nodata.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698