diff options
author | Konrad Kleine <kkleine@redhat.com> | 2019-10-21 14:11:21 +0000 |
---|---|---|
committer | Konrad Kleine <kkleine@redhat.com> | 2019-10-21 14:11:21 +0000 |
commit | 423ac9a3c2c5b7c7eba81d7527bab4d68b71b737 (patch) | |
tree | 33cea4eeeffd47be52f75bdaab00dc46ce3132d7 | |
parent | 963531af8b16f3624532f26c110fa72528417975 (diff) |
[lldb] drop .symtab removal in minidebuginfo tests
Summary:
After D69041, we no longer have to manually remove the .symtab section
once yaml2obj was run.
Reviewers: espindola, alexshap
Subscribers: emaste, arichardson, MaskRay, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D69254
git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@375415 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | test/Shell/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml | 5 | ||||
-rw-r--r-- | test/Shell/ObjectFile/ELF/minidebuginfo-find-symbols.yaml | 5 | ||||
-rw-r--r-- | test/Shell/ObjectFile/ELF/minidebuginfo-no-lzma.yaml | 5 |
3 files changed, 0 insertions, 15 deletions
diff --git a/test/Shell/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml b/test/Shell/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml index cec34b9c6..938688cdf 100644 --- a/test/Shell/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml +++ b/test/Shell/ObjectFile/ELF/minidebuginfo-corrupt-xz.yaml @@ -5,11 +5,6 @@ # RUN: yaml2obj %s > %t.obj -# TODO(kwk): once yaml2obj doesn't auto-generate a .symtab section -# when there's none in YAML, remove the following line: - -# RUN: llvm-objcopy --remove-section=.symtab %t.obj - # RUN: %lldb -b -o 'image dump symtab' %t.obj 2>&1 | FileCheck %s # CHECK: warning: (x86_64) {{.*}}.obj An error occurred while decompression the section .gnu_debugdata: lzma_stream_buffer_decode()=lzma error: LZMA_DATA_ERROR diff --git a/test/Shell/ObjectFile/ELF/minidebuginfo-find-symbols.yaml b/test/Shell/ObjectFile/ELF/minidebuginfo-find-symbols.yaml index 230ce8bb1..e6ebb0381 100644 --- a/test/Shell/ObjectFile/ELF/minidebuginfo-find-symbols.yaml +++ b/test/Shell/ObjectFile/ELF/minidebuginfo-find-symbols.yaml @@ -2,11 +2,6 @@ # RUN: yaml2obj %s > %t.obj -# TODO(kwk): once yaml2obj doesn't auto-generate a .symtab section -# when there's none in YAML, remove the following line: - -# RUN: llvm-objcopy --remove-section=.symtab %t.obj - # RUN: %lldb -b -o 'image dump symtab' %t.obj | FileCheck %s # CHECK: [ 0] 1 X Code 0x00000000004005b0 0x000000000000000f 0x00000012 multiplyByFour diff --git a/test/Shell/ObjectFile/ELF/minidebuginfo-no-lzma.yaml b/test/Shell/ObjectFile/ELF/minidebuginfo-no-lzma.yaml index a127109e9..63c82baf0 100644 --- a/test/Shell/ObjectFile/ELF/minidebuginfo-no-lzma.yaml +++ b/test/Shell/ObjectFile/ELF/minidebuginfo-no-lzma.yaml @@ -5,11 +5,6 @@ # RUN: yaml2obj %s > %t.obj -# TODO(kwk): once yaml2obj doesn't auto-generate a .symtab section -# when there's none in YAML, remove the following line: - -# RUN: llvm-objcopy --remove-section=.symtab %t.obj - # RUN: %lldb -b -o 'image dump symtab' %t.obj 2>&1 | FileCheck %s # CHECK: warning: (x86_64) {{.*}}.obj No LZMA support found for reading .gnu_debugdata section |