[LLDB] Fix LLDB buildbots break due to --image-base

LLDB build were failing due to following two test failures:
lldb-shell :: ObjectFile/ELF/basic-info.yaml
lldb-shell :: SymbolFile/DWARF/x86/debug-types-address-ranges.s

There were caused by commit 6506907a0a
This commit is contained in:
Muhammad Omair Javaid 2021-10-26 12:07:11 +05:00
parent a5f411b7f8
commit 4c8ea90b25
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# REQUIRES: lld
# RUN: yaml2obj %s -o %t.o
# RUN: ld.lld %t.o -o %t -image-base 0x47000
# RUN: ld.lld %t.o -o %t --image-base 0x47000
# RUN: lldb-test object-file %t | FileCheck %s
# CHECK: Plugin name: elf

View File

@ -7,7 +7,7 @@
# REQUIRES: lld
# RUN: llvm-mc -dwarf-version=5 -triple x86_64-pc-linux %s -filetype=obj >%t.o
# RUN: ld.lld %t.o -o %t -image-base=0x47000 -z separate-code
# RUN: ld.lld %t.o -o %t --image-base=0x47000 -z separate-code
# RUN: %lldb %t -o "image lookup -a 0x48000 -v" -o exit | FileCheck %s
# CHECK: CompileUnit: id = {0x00000001}, file = "/tmp/a.cc", language = "c++"