From 00002796bbb11f58435b9f43d63fd6d0657fc3a5 Mon Sep 17 00:00:00 2001 From: "Michael J. Spencer" Date: Wed, 15 Sep 2010 03:58:51 +0000 Subject: test: Fix coff-dump section array indicies to 1 based to match file format. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113928 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Scripts/coff-dump.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'test/Scripts') diff --git a/test/Scripts/coff-dump.py b/test/Scripts/coff-dump.py index 38fc3bb..7868c00 100755 --- a/test/Scripts/coff-dump.py +++ b/test/Scripts/coff-dump.py @@ -73,7 +73,7 @@ file = ('struct', [ (0x4000, 'IMAGE_FILE_UP_SYSTEM_ONLY', ), (0x8000, 'IMAGE_FILE_BYTES_REVERSED_HI', ), ])), - ('Sections', ('array', 'NumberOfSections', ('struct', [ + ('Sections', ('array', '1', 'NumberOfSections', ('struct', [ ('Name', ('scalar', '<8s', secname)), ('VirtualSize', ('scalar', '