[lldb] Fix minidebuginfo-set-and-hit-breakpoint.test
authorRaphael Isemann <teemperor@gmail.com>
Thu, 10 Oct 2019 14:00:32 +0000 (14:00 +0000)
committerRaphael Isemann <teemperor@gmail.com>
Thu, 10 Oct 2019 14:00:32 +0000 (14:00 +0000)
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

lldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test

index c568a19642a0793f16d9c35ab6d5f322d398b398..93c524f055277a0e56bf228b47441638f2d93d58 100644 (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.