llvmbot wrote:

<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Pat Doyle (patdoyle-google)

<details>
<summary>Changes</summary>

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

---
Full diff: https://github.com/llvm/llvm-project/pull/140978.diff


1 Files Affected:

- (modified) lldb/test/Shell/SymbolFile/dissassemble-entry-point.s (+2-2) 


``````````diff
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

``````````

</details>


https://github.com/llvm/llvm-project/pull/140978
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to