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

Raphael Isemann via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 10 07:00:32 PDT 2019


Author: teemperor
Date: Thu Oct 10 07:00:32 2019
New Revision: 374352

URL: http://llvm.org/viewvc/llvm-project?rev=374352&view=rev
Log:
[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!

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

Modified: lldb/trunk/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test?rev=374352&r1=374351&r2=374352&view=diff
==============================================================================
--- lldb/trunk/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test (original)
+++ lldb/trunk/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test Thu Oct 10 07:00:32 2019
@@ -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.
 




More information about the lldb-commits mailing list