[Lldb-commits] [lldb] [test] Fix dissassemble-entry-point.s for #140187 (PR #140978)
Pat Doyle via lldb-commits
lldb-commits at lists.llvm.org
Wed May 21 18:36:34 PDT 2025
https://github.com/patdoyle-google created https://github.com/llvm/llvm-project/pull/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
>From 0483de4c38c49fbda6a7965d246c0a5423c47b65 Mon Sep 17 00:00:00 2001
From: Pat Doyle <patdoyle at google.com>
Date: Wed, 21 May 2025 18:32:59 -0700
Subject: [PATCH] Update dissassemble-entry-point.s
---
lldb/test/Shell/SymbolFile/dissassemble-entry-point.s | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s b/lldb/test/Shell/SymbolFile/dissassemble-entry-point.s
index c8059990237a1..2f74f6acad0ed 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=0x8074 --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