[Lldb-commits] [lldb] 302c492 - [LLDB] Fix minidebuginfo-set-and-hit-breakpoint.test for arm 32-bit
Muhammad Omair Javaid via lldb-commits
lldb-commits at lists.llvm.org
Tue May 12 19:18:01 PDT 2020
Author: Muhammad Omair Javaid
Date: 2020-05-13T07:17:40+05:00
New Revision: 302c492cc5d97cf10837e71e4ee5872c01bc3682
URL: https://github.com/llvm/llvm-project/commit/302c492cc5d97cf10837e71e4ee5872c01bc3682
DIFF: https://github.com/llvm/llvm-project/commit/302c492cc5d97cf10837e71e4ee5872c01bc3682.diff
LOG: [LLDB] Fix minidebuginfo-set-and-hit-breakpoint.test for arm 32-bit
This patch fixes minidebuginfo-set-and-hit-breakpoint.test for arm-linux
targets. 32-bit elf executables use .rel.dyn and 64-bit uses .rela.dyn for
relocation entries for dynamic symbols.
Added:
Modified:
lldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
Removed:
################################################################################
diff --git a/lldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test b/lldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
index 84c69bea87f7..9507c5d6d17f 100644
--- a/lldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
+++ b/lldb/test/Shell/ObjectFile/ELF/minidebuginfo-set-and-hit-breakpoint.test
@@ -41,7 +41,7 @@
# in the .dynsym section of the main binary. The bits removing .rela.plt,
# .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: llvm-objcopy --remove-section=.rela.plt --remove-section=.rela.dyn --remove-section=.rel.plt --remove-section=.rel.dyn \
# 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