OLD | NEW |
1 ; Test of global initializers. | 1 ; Test of global initializers. |
2 | 2 |
| 3 ; REQUIRES: allow_dump |
| 4 |
3 ; Test -ias=0 to test the lea "hack" until we are fully confident in -ias=1 | 5 ; Test -ias=0 to test the lea "hack" until we are fully confident in -ias=1 |
4 ; RUN: %p2i -i %s --args --verbose none -ias=0 | FileCheck %s | 6 ; RUN: %p2i -i %s --args --verbose none -ias=0 | FileCheck %s |
5 | 7 |
6 ; Test -ias=1 and try to cross reference instructions w/ the symbol table. | 8 ; Test -ias=1 and try to cross reference instructions w/ the symbol table. |
7 ; RUN: %p2i -i %s --args --verbose none \ | 9 ; RUN: %p2i -i %s --args --verbose none \ |
8 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ | 10 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ |
9 ; RUN: | llvm-objdump -d -r --symbolize -x86-asm-syntax=intel - \ | 11 ; RUN: | llvm-objdump -d -r --symbolize -x86-asm-syntax=intel - \ |
10 ; RUN: | FileCheck --check-prefix=IAS %s | 12 ; RUN: | FileCheck --check-prefix=IAS %s |
11 ; RUN: %p2i -i %s --args --verbose none \ | 13 ; RUN: %p2i -i %s --args --verbose none \ |
12 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ | 14 ; RUN: | llvm-mc -triple=i686-none-nacl -filetype=obj \ |
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { | 158 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { |
157 entry: | 159 entry: |
158 ret i32 0 | 160 ret i32 0 |
159 } | 161 } |
160 | 162 |
161 define internal i32 @nacl_tp_tls_offset(i32 %size) { | 163 define internal i32 @nacl_tp_tls_offset(i32 %size) { |
162 entry: | 164 entry: |
163 %result = sub i32 0, %size | 165 %result = sub i32 0, %size |
164 ret i32 %result | 166 ret i32 %result |
165 } | 167 } |
OLD | NEW |