Skip to content

Commit 5387c2c

Browse files
committedMay 1, 2019
[llvm-objdump] Print newlines before and after "Disassembly of section ...:"
This improves readability and the behavior is consistent with GNU objdump. The new test test/tools/llvm-objdump/X86/disassemble-section-name.s checks we print newlines before and after "Disassembly of section ...:" Differential Revision: https://reviews.llvm.org/D61127 llvm-svn: 359668
1 parent a7d107a commit 5387c2c

File tree

184 files changed

+445
-29
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

184 files changed

+445
-29
lines changed
 

‎lld/test/COFF/arm64-import2.test

+2
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@
77
# RUN: llvm-readobj --coff-imports %t.exe | FileCheck %s -check-prefix IMPORTS
88

99
# BEFORE: Disassembly of section .text:
10+
# BEFORE-EMPTY:
1011
# BEFORE: 0: 00 00 00 94 bl #0
1112
# BEFORE: 4: 00 00 00 94 bl #0
1213
# BEFORE: 8: c0 03 5f d6 ret
1314

1415
# AFTER: Disassembly of section .text:
16+
# AFTER-EMPTY:
1517
# AFTER: 140001000: 03 00 00 94 bl #12
1618
# AFTER: 140001004: 05 00 00 94 bl #20
1719
# AFTER: 140001008: c0 03 5f d6 ret

‎lld/test/COFF/arm64-relocs-imports.test

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# RUN: llvm-objdump -d %t.exe | FileCheck %s -check-prefix AFTER
77

88
# BEFORE: Disassembly of section .text:
9+
# BEFORE-EMPTY:
910
# BEFORE: 0: fe 0f 1f f8 str x30, [sp, #-16]!
1011
# BEFORE: 4: 00 00 00 90 adrp x0, #0
1112
# BEFORE: 8: 00 08 00 91 add x0, x0, #2
@@ -48,6 +49,7 @@
4849
# BEFORE: 9c: 01 00 00 00 udf #1
4950

5051
# AFTER: Disassembly of section .text:
52+
# AFTER-EMPTY:
5153
# AFTER: 140001000: fe 0f 1f f8 str x30, [sp, #-16]!
5254
# AFTER: 140001004: 00 00 00 b0 adrp x0, #4096
5355
# AFTER: 140001008: 00 18 00 91 add x0, x0, #6

0 commit comments

Comments
 (0)
Please sign in to comment.