[Lldb-commits] [lldb] 4fd48ac - [test] Fix dissassemble-entry-point.s for #140187 (#140978)
via lldb-commits
lldb-commits at lists.llvm.org
Wed May 21 20:21:22 PDT 2025
Author: Pat Doyle
Date: 2025-05-21T20:21:18-07:00
New Revision: 4fd48ac9ae272db07a48a08f99f2101dce2f1eb0
URL: https://github.com/llvm/llvm-project/commit/4fd48ac9ae272db07a48a08f99f2101dce2f1eb0
DIFF: https://github.com/llvm/llvm-project/commit/4fd48ac9ae272db07a48a08f99f2101dce2f1eb0.diff
LOG: [test] Fix dissassemble-entry-point.s for #140187 (#140978)
similar to #140570
getting this error:
exit status 1
ld.lld: error: section '.text' address (0x8074) is smaller than image
base (0x10000); specify --image-base
Added:
Modified:
lldb/test/Shell/SymbolFile/dissassemble-entry-point.s
Removed:
################################################################################
diff --git a/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s b/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s
index c8059990237a1..d84374fedaf6a 100644
--- a/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s
+++ b/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s
@@ -1,7 +1,7 @@
# REQUIRES: lld, arm
# RUN: llvm-mc -triple=thumbv7-eabi %s -filetype=obj -o %t.o
-# RUN: ld.lld %t.o -o %t --section-start=.text=0x8074 -e 0x8075 -s
+# RUN: ld.lld %t.o -o %t --image-base=0x8000 --section-start=.text=0x8074 -e 0x8075 -s
# RUN: %lldb -x -b -o 'dis -s 0x8074 -e 0x8080' -- %t | FileCheck %s
# CHECK: {{.*}}[0x8074] <+0>: movs r0, #0x2a
# CHECK-NEXT: {{.*}}[0x8076] <+2>: movs r7, #0x1
@@ -10,4 +10,4 @@
_start:
movs r0, #0x2a
movs r7, #0x1
- svc #0x0
\ No newline at end of file
+ svc #0x0
More information about the lldb-commits
mailing list