diff options
| author | George Rimar <grimar@accesssoftek.com> | 2019-04-03 15:28:35 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2019-04-03 15:28:35 +0000 |
| commit | ed3eaf477c756bb1540ea5bf5a8f06f8c27d591c (patch) | |
| tree | 76d1f23143757b583b20f89dd547093ef9a9f605 /lldb/unittests/ObjectFile | |
| parent | 925bb20c794ffe0397e5c764b3d01c859c3f5cdf (diff) | |
| download | bcm5719-llvm-ed3eaf477c756bb1540ea5bf5a8f06f8c27d591c.tar.gz bcm5719-llvm-ed3eaf477c756bb1540ea5bf5a8f06f8c27d591c.zip | |
[LLDB] - Update the test cases after yaml2obj change.
https://reviews.llvm.org/D60122 (r357595) changed the
symbols description format in yaml2obj.
This change updates the LLDB tests.
llvm-svn: 357600
Diffstat (limited to 'lldb/unittests/ObjectFile')
| -rw-r--r-- | lldb/unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml | 91 | ||||
| -rw-r--r-- | lldb/unittests/ObjectFile/ELF/Inputs/sections-resolve-consistently.yaml | 34 |
2 files changed, 63 insertions, 62 deletions
diff --git a/lldb/unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml b/lldb/unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml index 10bf9c2d177..10f5e59432f 100644 --- a/lldb/unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml +++ b/lldb/unittests/ObjectFile/ELF/Inputs/debug-info-relocations.pcm.yaml @@ -133,51 +133,50 @@ Sections: Symbol: .text Type: R_AARCH64_ABS64 Symbols: - Local: - - Name: reduced.h - Type: STT_FILE - - Name: '$d.1' - Section: .debug_str - - Name: '$d.2' - Section: .debug_abbrev - - Name: '$d.3' - Section: .debug_info - - Name: '$d.4' - Section: .debug_macinfo - - Name: '$d.5' - Section: .debug_pubnames - - Name: '$d.6' - Section: .debug_pubtypes - - Name: '$d.7' - Section: .comment - - Name: '$d.8' - Section: .debug_frame - - Name: '$d.9' - Section: .debug_line - - Name: '$x.0' - Section: .text - - Name: .text - Type: STT_SECTION - Section: .text - - Name: .debug_str - Type: STT_SECTION - Section: .debug_str - - Name: .debug_abbrev - Type: STT_SECTION - Section: .debug_abbrev - - Name: .debug_info - Type: STT_SECTION - Section: .debug_info - - Name: .debug_frame - Type: STT_SECTION - Section: .debug_frame - - Name: .debug_line - Type: STT_SECTION - Section: .debug_line - Global: - - Name: f - Type: STT_FUNC - Section: .text - Size: 0x0000000000000008 + - Name: reduced.h + Type: STT_FILE + - Name: '$d.1' + Section: .debug_str + - Name: '$d.2' + Section: .debug_abbrev + - Name: '$d.3' + Section: .debug_info + - Name: '$d.4' + Section: .debug_macinfo + - Name: '$d.5' + Section: .debug_pubnames + - Name: '$d.6' + Section: .debug_pubtypes + - Name: '$d.7' + Section: .comment + - Name: '$d.8' + Section: .debug_frame + - Name: '$d.9' + Section: .debug_line + - Name: '$x.0' + Section: .text + - Name: .text + Type: STT_SECTION + Section: .text + - Name: .debug_str + Type: STT_SECTION + Section: .debug_str + - Name: .debug_abbrev + Type: STT_SECTION + Section: .debug_abbrev + - Name: .debug_info + Type: STT_SECTION + Section: .debug_info + - Name: .debug_frame + Type: STT_SECTION + Section: .debug_frame + - Name: .debug_line + Type: STT_SECTION + Section: .debug_line + - Name: f + Type: STT_FUNC + Section: .text + Size: 0x0000000000000008 + Binding: STB_GLOBAL DynamicSymbols: ... diff --git a/lldb/unittests/ObjectFile/ELF/Inputs/sections-resolve-consistently.yaml b/lldb/unittests/ObjectFile/ELF/Inputs/sections-resolve-consistently.yaml index 98b68bd2773..8a4bcd24a07 100644 --- a/lldb/unittests/ObjectFile/ELF/Inputs/sections-resolve-consistently.yaml +++ b/lldb/unittests/ObjectFile/ELF/Inputs/sections-resolve-consistently.yaml @@ -31,20 +31,22 @@ Sections: AddressAlign: 0x0000000000000004 Size: 0x0000000000000004 Symbols: - Global: - - Name: Y - Type: STT_OBJECT - Section: .data - Value: 0x0000000000601000 - Size: 0x0000000000000004 - - Name: _start - Type: STT_FUNC - Section: .text - Value: 0x0000000000400180 - Size: 0x0000000000000014 - - Name: X - Type: STT_OBJECT - Section: .bss - Value: 0x0000000000601004 - Size: 0x0000000000000004 + - Name: Y + Type: STT_OBJECT + Section: .data + Value: 0x0000000000601000 + Size: 0x0000000000000004 + Binding: STB_GLOBAL + - Name: _start + Type: STT_FUNC + Section: .text + Value: 0x0000000000400180 + Size: 0x0000000000000014 + Binding: STB_GLOBAL + - Name: X + Type: STT_OBJECT + Section: .bss + Value: 0x0000000000601004 + Size: 0x0000000000000004 + Binding: STB_GLOBAL ... |

