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

Side by Side Diff: test/MC/X86/AlignedBundling/labeloffset.s

Issue 1133723005: Cherry-pick r234714: [MC] Write padding into fragments when -mc-relax-all flag is used (Closed) Base URL: http://git.chromium.org/native_client/pnacl-llvm.git@master
Patch Set: Rebase Created 5 years, 7 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 # 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
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
OLDNEW
« no previous file with comments | « test/MC/X86/AlignedBundling/different-sections.s ('k') | test/MC/X86/AlignedBundling/long-nop-pad.s » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698