diff options
Diffstat (limited to 'test/COFF/secidx-absolute.s')
-rw-r--r-- | test/COFF/secidx-absolute.s | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/COFF/secidx-absolute.s b/test/COFF/secidx-absolute.s index bfe7136b31d2..0b467bbb09bf 100644 --- a/test/COFF/secidx-absolute.s +++ b/test/COFF/secidx-absolute.s @@ -1,3 +1,4 @@ +# REQUIRES: x86 # RUN: llvm-mc %s -filetype=obj -triple=x86_64-windows-msvc -o %t.obj # RUN: lld-link -entry:main -nodefaultlib %t.obj -out:%t.exe # RUN: llvm-readobj %t.exe -sections -section-data | FileCheck %s @@ -16,17 +17,17 @@ ret # CHECK: Sections [ # CHECK: Section { # CHECK: Number: 1 -# CHECK: Name: .rdata (2E 72 64 61 74 61 00 00) +# CHECK: Name: .text (2E 74 65 78 74 00 00 00) +# CHECK: VirtualSize: 0x1 # CHECK: SectionData ( -# CHECK: 0000: 0300 |..| +# CHECK: 0000: C3 |.| # CHECK: ) # CHECK: } # CHECK: Section { # CHECK: Number: 2 -# CHECK: Name: .text (2E 74 65 78 74 00 00 00) -# CHECK: VirtualSize: 0x1 +# CHECK: Name: .rdata (2E 72 64 61 74 61 00 00) # CHECK: SectionData ( -# CHECK: 0000: C3 |.| +# CHECK: 0000: 0300 |..| # CHECK: ) # CHECK: } # CHECK-NOT: Section |