[PATCH] D34900: Tighten up tests for .rsrc section emission.
Eric Beckmann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 30 11:22:26 PDT 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL306854: Tighten up tests for .rsrc section emission. (authored by ecbeckmann).
Changed prior to commit:
https://reviews.llvm.org/D34900?vs=104900&id=104901#toc
Repository:
rL LLVM
https://reviews.llvm.org/D34900
Files:
lld/trunk/test/COFF/resource.test
Index: lld/trunk/test/COFF/resource.test
===================================================================
--- lld/trunk/test/COFF/resource.test
+++ lld/trunk/test/COFF/resource.test
@@ -9,8 +9,8 @@
EXE: {{H.e.l.l.o}}
# Verify the resource tree layout in the final executable.
-# RUN: llvm-readobj -file-headers -coff-resources %t.exe | FileCheck \
-# RUN: --check-prefix=RESOURCE_INFO %s
+# RUN: llvm-readobj -file-headers -coff-resources -section-data %t.exe | \
+# RUN: FileCheck --check-prefix=RESOURCE_INFO %s
RESOURCE_INFO: ResourceTableRVA: 0x1000
RESOURCE_INFO-NEXT: ResourceTableSize: 0x88
@@ -33,3 +33,14 @@
RESOURCE_INFO-NEXT: Major Version: 0
RESOURCE_INFO-NEXT: Minor Version: 0
RESOURCE_INFO-NEXT: Characteristics: 0
+RESOURCE_INFO-DAG: .rsrc Data (
+RESOURCE_INFO-NEXT: 0000: 00000000 00000000 00000000 00000100 |................|
+RESOURCE_INFO-NEXT: 0010: 06000000 18000080 00000000 00000000 |................|
+RESOURCE_INFO-NEXT: 0020: 00000000 00000100 01000000 30000080 |............0...|
+RESOURCE_INFO-NEXT: 0030: 00000000 00000000 00000000 00000100 |................|
+RESOURCE_INFO-NEXT: 0040: 09040000 48000000 58100000 2A000000 |....H...X...*...|
+RESOURCE_INFO-NEXT: 0050: 00000000 00000000 00000500 48006500 |............H.e.|
+RESOURCE_INFO-NEXT: 0060: 6C006C00 6F000000 00000000 00000000 |l.l.o...........|
+RESOURCE_INFO-NEXT: 0070: 00000000 00000000 00000000 00000000 |................|
+RESOURCE_INFO-NEXT: 0080: 00000000 00000000 |........|
+RESOURCE_INFO-NEXT: )
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34900.104901.patch
Type: text/x-patch
Size: 1572 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170630/2b6f7af8/attachment.bin>
More information about the llvm-commits
mailing list