OLD | NEW |
1 # RUN: llvm-mc -triple=i686-linux -filetype=obj %s -o - | \ | 1 # RUN: llvm-mc -triple=i686-linux -filetype=obj %s -o - | \ |
2 # RUN: llvm-objdump -disassemble -no-show-raw-insn -r - | FileCheck %s | 2 # RUN: llvm-objdump -disassemble -no-show-raw-insn -r - | FileCheck %s |
3 # RUN: llvm-mc -triple=i686-nacl -filetype=obj %s -o - | \ | 3 # RUN: llvm-mc -triple=i686-nacl -filetype=obj %s -o - | \ |
4 # RUN: llvm-objdump -disassemble -no-show-raw-insn -r - | FileCheck %s | 4 # RUN: llvm-objdump -disassemble -no-show-raw-insn -r - | FileCheck %s |
| 5 # RUN: llvm-mc -triple=i686-nacl -filetype=obj -mc-relax-all %s -o - | \ |
| 6 # RUN: llvm-objdump -disassemble -no-show-raw-insn -r - | FileCheck %s |
5 | 7 |
6 .bundle_align_mode 5 | 8 .bundle_align_mode 5 |
7 .text | 9 .text |
8 .globl main | 10 .globl main |
9 .align 32, 0x90 | 11 .align 32, 0x90 |
10 .type main,@function | 12 .type main,@function |
11 main: # @main | 13 main: # @main |
12 # CHECK-LABEL: main: | 14 # CHECK-LABEL: main: |
13 # Call + pop sequence for determining the PIC base. | 15 # Call + pop sequence for determining the PIC base. |
14 .bundle_lock align_to_end | 16 .bundle_lock align_to_end |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 foo: | 76 foo: |
75 inc %eax | 77 inc %eax |
76 tmp3: | 78 tmp3: |
77 .rodata | 79 .rodata |
78 .type obj,@object | 80 .type obj,@object |
79 .comm obj,4,4 | 81 .comm obj,4,4 |
80 .section .text.foo | 82 .section .text.foo |
81 inc %eax | 83 inc %eax |
82 # CHECK: tmp3: | 84 # CHECK: tmp3: |
83 # CHECK-NEXT: 1: incl | 85 # CHECK-NEXT: 1: incl |
OLD | NEW |