Skip to content

Commit 9762d9d

Browse files
committed
Address Review Feedback
1 parent b51faf8 commit 9762d9d

File tree

2 files changed

+36
-65
lines changed

2 files changed

+36
-65
lines changed

llvm/docs/ReleaseNotes.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ Changes to the RISC-V Backend
108108
and data using mapping symbols such as `$x` and `$d`. Switching architectures
109109
using `$x` with an architecture string suffix is not yet supported.
110110

111-
112111
Changes to the WebAssembly Backend
113112
----------------------------------
114113

Lines changed: 36 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# RUN: yaml2obj -o - %s \
2-
# RUN: | llvm-objdump -d - | FileCheck %s
1+
# RUN: yaml2obj %s -o %t
2+
# RUN: llvm-objdump -d %t | FileCheck %s
33

44
## This CHECKs objdump's handling of wide instruction encodings, and how it
55
## groups the instruction bytes when disassembling.
@@ -15,74 +15,46 @@ FileHeader:
1515
Machine: EM_RISCV
1616
SectionHeaderStringTable: .strtab
1717
Sections:
18-
- Name: .text.six_byte
18+
- Name: .text
1919
Type: SHT_PROGBITS
2020
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
2121
AddressAlign: 0x1
22-
Content: 1F0123456789
23-
# CHECK: 011f 4523 8967 <unknown>
24-
- Name: .text.eight_byte
25-
Type: SHT_PROGBITS
26-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
27-
AddressAlign: 0x1
28-
Content: 3F0123456789ABCD
29-
# CHECK: 4523013f cdab8967 <unknown>
30-
- Name: .text.ten_byte
31-
Type: SHT_PROGBITS
32-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
33-
AddressAlign: 0x1
34-
Content: 7F0023456789ABCDEFFE
35-
# CHECK: 007f 4523 8967 cdab feef <unknown>
36-
- Name: .text.twelve_byte
37-
Type: SHT_PROGBITS
38-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
39-
AddressAlign: 0x1
40-
Content: 7F1023456789ABCDEFFEDCBA
41-
# CHECK: 4523107f cdab8967 badcfeef <unknown>
42-
- Name: .text.fourteen_byte
43-
Type: SHT_PROGBITS
44-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
45-
AddressAlign: 0x1
46-
Content: 7F2023456789ABCDEFFEDCBA9876
47-
# CHECK: 207f 4523 8967 cdab feef badc 7698 <unknown>
48-
- Name: .text.sixteen_byte
49-
Type: SHT_PROGBITS
50-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
51-
AddressAlign: 0x1
52-
Content: 7F3023456789ABCDEFFEDCBA98765432
53-
# CHECK: 4523307f cdab8967 badcfeef 32547698 <unknown>
54-
- Name: .text.eighteen_byte
55-
Type: SHT_PROGBITS
56-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
57-
AddressAlign: 0x1
58-
Content: 7F4023456789ABCDEFFEDCBA987654321012
59-
# CHECK: 407f 4523 8967 cdab feef badc 7698 3254 1210 <unknown>
60-
- Name: .text.twenty_byte
61-
Type: SHT_PROGBITS
62-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
63-
AddressAlign: 0x1
64-
Content: 7F5023456789ABCDEFFEDCBA9876543210123456
65-
# CHECK: 4523507f cdab8967 badcfeef 32547698 56341210 <unknown>
66-
- Name: .text.twentytwo_byte
67-
Type: SHT_PROGBITS
68-
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
69-
AddressAlign: 0x1
70-
Content: 7F6023456789ABCDEFFEDCBA9876543210123456789A
71-
# CHECK: 607f 4523 8967 cdab feef badc 7698 3254 1210 5634 9a78 <unknown>
22+
ContentArray: [
23+
# CHECK: 011f 4523 8967 <unknown>
24+
0x1f, 0x01, 0x23, 0x45, 0x67, 0x89,
25+
26+
# CHECK: 4523013f cdab8967 <unknown>
27+
0x3f, 0x01, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd,
28+
29+
# CHECK: 007f 4523 8967 cdab feef <unknown>
30+
0x7f, 0x00, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe,
31+
32+
# CHECK: 4523107f cdab8967 badcfeef <unknown>
33+
0x7f, 0x10, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba,
34+
35+
# CHECK: 207f 4523 8967 cdab feef badc 7698 <unknown>
36+
0x7f, 0x20, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76,
37+
38+
# CHECK: 4523307f cdab8967 badcfeef 32547698 <unknown>
39+
0x7f, 0x30, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32,
40+
41+
# CHECK: 407f 4523 8967 cdab feef badc 7698 3254 1210 <unknown>
42+
0x7f, 0x40, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x12,
43+
44+
# CHECK: 4523507f cdab8967 badcfeef 32547698 56341210 <unknown>
45+
0x7f, 0x50, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x12, 0x34, 0x56,
46+
47+
# CHECK: 607f 4523 8967 cdab feef badc 7698 3254 1210 5634 9a78 <unknown>
48+
0x7f, 0x60, 0x23, 0x45, 0x67, 0x89, 0xab, 0xcd, 0xef, 0xfe, 0xdc, 0xba, 0x98, 0x76, 0x54, 0x32, 0x10, 0x12, 0x34, 0x56, 0x78, 0x9a,
49+
]
50+
7251
- Type: SectionHeaderTable
7352
Sections:
7453
- Name: .strtab
75-
- Name: .text.six_byte
76-
- Name: .text.eight_byte
77-
- Name: .text.ten_byte
78-
- Name: .text.twelve_byte
79-
- Name: .text.fourteen_byte
80-
- Name: .text.sixteen_byte
81-
- Name: .text.eighteen_byte
82-
- Name: .text.twenty_byte
83-
- Name: .text.twentytwo_byte
8454
- Name: .symtab
55+
- Name: .text
8556
Symbols:
86-
- Name: '$x'
87-
Section: .text.six_byte
57+
- Name: "$x"
58+
Section: .text
59+
Value: 0x0
8860
...

0 commit comments

Comments
 (0)