[lldb] Fix minidebuginfo-set-and-hit-breakpoint.test

This was failing for me because of this error:
llvm-objcopy: error: 'build/tools/lldb/test/ObjectFile/ELF/Output/minidebuginfo-set-and-hit-breakpoint.test.tmp.mini_debuginfo': section '.dynsym' cannot be removed because it is referenced by the section '.hash'

Patch by Konrad Kleine!

llvm-svn: 374352
This commit is contained in:
Raphael Isemann 2019-10-10 14:00:32 +00:00
parent f096443a98
commit ffe170c6e2
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@
# .rela.dyn and .dynsym sections can be removed once llvm-objcopy
# --only-keep-debug starts to work.
# RUN: llvm-objcopy --remove-section=.rela.plt --remove-section=.rela.dyn \
# RUN: --remove-section=.gnu.version --remove-section=.gnu.hash --remove-section=.dynsym %t.mini_debuginfo
# RUN: --remove-section=.gnu.version --remove-section=.gnu.hash --remove-section=.hash --remove-section=.dynsym %t.mini_debuginfo
# Drop the full debug info from the original binary.