| OLD | NEW |
| 1 ; Test of global initializers. | 1 ; Test of global initializers. |
| 2 | 2 |
| 3 ; REQUIRES: allow_dump | 3 ; REQUIRES: allow_dump |
| 4 | 4 |
| 5 ; Test -filetype=asm to test the lea "hack" until we are fully confident | 5 ; Test -filetype=asm to test the lea "hack" until we are fully confident |
| 6 ; in -filetype=iasm . | 6 ; in -filetype=iasm . |
| 7 ; RUN: %p2i -i %s --args --verbose none -filetype=asm | FileCheck %s | 7 ; RUN: %p2i -i %s --filetype=asm --args --verbose none | FileCheck %s |
| 8 | 8 |
| 9 ; Test -filetype=iasm and try to cross reference instructions w/ the | 9 ; Test -filetype=iasm and try to cross reference instructions w/ the |
| 10 ; symbol table. | 10 ; symbol table. |
| 11 ; RUN: %p2i --assemble --disassemble -i %s --args --verbose none \ | 11 ; RUN: %p2i --assemble --disassemble -i %s --args --verbose none \ |
| 12 ; RUN: | FileCheck --check-prefix=IAS %s | 12 ; RUN: | FileCheck --check-prefix=IAS %s |
| 13 ; RUN: %p2i --assemble --disassemble --dis-flags=-t -i %s --args \ | 13 ; RUN: %p2i --assemble --disassemble --dis-flags=-t -i %s --args \ |
| 14 ; RUN: --verbose none | FileCheck --check-prefix=SYMTAB %s | 14 ; RUN: --verbose none | FileCheck --check-prefix=SYMTAB %s |
| 15 | 15 |
| 16 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 | 16 @PrimitiveInit = internal global [4 x i8] c"\1B\00\00\00", align 4 |
| 17 ; CHECK: .type PrimitiveInit,@object | 17 ; CHECK: .type PrimitiveInit,@object |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { | 158 define internal i32 @nacl_tp_tdb_offset(i32 %__0) { |
| 159 entry: | 159 entry: |
| 160 ret i32 0 | 160 ret i32 0 |
| 161 } | 161 } |
| 162 | 162 |
| 163 define internal i32 @nacl_tp_tls_offset(i32 %size) { | 163 define internal i32 @nacl_tp_tls_offset(i32 %size) { |
| 164 entry: | 164 entry: |
| 165 %result = sub i32 0, %size | 165 %result = sub i32 0, %size |
| 166 ret i32 %result | 166 ret i32 %result |
| 167 } | 167 } |
| OLD | NEW |