[lldb][test] - Update test cases after yaml2obj change.

The format of program header descriptions was changed by D90458.
This commit is contained in:
Georgii Rymar 2020-11-09 13:52:58 +03:00
parent 5c987212b7
commit 62e3b2ec1d
11 changed files with 34 additions and 41 deletions

View File

@ -96,14 +96,14 @@ ProgramHeaders:
Flags: [ PF_X, PF_R ]
VAddr: 0x4000
Align: 0x1000
Sections:
- Section: .text
FirstSec: .text
LastSec: .text
- Type: PT_LOAD
Flags: [ PF_W, PF_R ]
VAddr: 0x5000
Align: 0x1000
Sections:
- Section: .note.gnu.build-id
FirstSec: .note.gnu.build-id
LastSec: .note.gnu.build-id
...
--- !minidump

View File

@ -28,13 +28,12 @@ ProgramHeaders:
Flags: [ PF_X, PF_R ]
VAddr: 0x4000
Align: 0x1000
Sections:
- Section: .text
FirstSec: .text
LastSec: .text
- Type: PT_LOAD
Flags: [ PF_W, PF_R ]
VAddr: 0x5000
Align: 0x1000
Sections:
- Section: .data
- Section: .note.gnu.build-id
FirstSec: .data
LastSec: .note.gnu.build-id
...

View File

@ -39,12 +39,11 @@ ProgramHeaders:
Flags: [ PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .interp
FirstSec: .interp
LastSec: .interp
- Type: PT_LOAD
Flags: [ PF_X, PF_W, PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .interp
- Section: .text
FirstSec: .interp
LastSec: .text

View File

@ -53,11 +53,11 @@ ProgramHeaders:
Flags: [ PF_R, PF_W ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .tbss
FirstSec: .tbss
LastSec: .tbss
- Type: PT_LOAD
Flags: [ PF_W, PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .data
FirstSec: .data
LastSec: .data

View File

@ -62,5 +62,5 @@ ProgramHeaders:
Flags: [ PF_X, PF_W, PF_R ]
VAddr: 0x1008 # Modified by hand to start at 0x1006
Align: 0x4
Sections:
- Section: .text
FirstSec: .text
LastSec: .text

View File

@ -31,12 +31,11 @@ ProgramHeaders:
Flags: [ PF_X, PF_W, PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .text
- Section: .data
FirstSec: .text
LastSec: .data
- Type: PT_LOAD
Flags: [ PF_R, PF_W ]
VAddr: 0x1008
Align: 0x4
Sections:
- Section: .data
FirstSec: .data
LastSec: .data

View File

@ -74,6 +74,5 @@ ProgramHeaders:
Flags: [ PF_X, PF_W, PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .text
- Section: .data
FirstSec: .text
LastSec: .data

View File

@ -53,11 +53,11 @@ ProgramHeaders:
Flags: [ PF_W, PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .data
FirstSec: .data
LastSec: .data
- Type: PT_TLS
Flags: [ PF_R, PF_W ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .tbss
FirstSec: .tbss
LastSec: .tbss

View File

@ -28,7 +28,6 @@ ProgramHeaders:
Flags: [ PF_X, PF_R ]
VAddr: 0x400000
Align: 0x200000
Sections:
- Section: .pad
- Section: .text
FirstSec: .pad
LastSec: .text
...

View File

@ -46,6 +46,5 @@ ProgramHeaders:
Flags: [ PF_X, PF_W, PF_R ]
VAddr: 0x1000
Align: 0x4
Sections:
- Section: .sect1
- Section: .overlap1
FirstSec: .sect1
LastSec: .overlap1

View File

@ -25,7 +25,6 @@ ProgramHeaders:
Flags: [ PF_X, PF_R ]
VAddr: 0x400000
Align: 0x1000
Sections:
- Section: .text1
- Section: .text2
FirstSec: .text1
LastSec: .text2
...