diff options
author | Fangrui Song <maskray@google.com> | 2019-09-16 07:52:30 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2019-09-16 07:52:30 +0000 |
commit | b026b3e53d67c258f8b750e3fc44fa1609185dee (patch) | |
tree | 7ecbb894f16dfd89abd5922a9485c6b135ac7f6e | |
parent | ac32934f2848fab6fa47013271ab16f411d180b9 (diff) | |
download | bcm5719-llvm-b026b3e53d67c258f8b750e3fc44fa1609185dee.tar.gz bcm5719-llvm-b026b3e53d67c258f8b750e3fc44fa1609185dee.zip |
[test] Add -z separate-code to fix tests that ae sensitive to exact addresses after r371958
llvm-svn: 371962
6 files changed, 6 insertions, 6 deletions
diff --git a/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s b/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s index b12d1468e8a..e87f8c8569d 100644 --- a/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s +++ b/lldb/lit/SymbolFile/DWARF/debug-types-address-ranges.s @@ -7,7 +7,7 @@ # REQUIRES: lld, x86 # 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 +# 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++" diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s index 2a798f17962..7fee15d65ca 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir-relative-name.s @@ -5,7 +5,7 @@ # REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o -# RUN: ld.lld %t.o -o %t +# RUN: ld.lld %t.o -o %t -z separate-code # RUN: %lldb %t -s %S/Inputs/dir-separator-no-comp-dir-relative-name.lldbinit -o exit | FileCheck %s # CHECK-LABEL: image dump line-table a.c diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s index a1d0ea5e71b..de6bde9b5c6 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-no-comp-dir.s @@ -4,7 +4,7 @@ # REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o -# RUN: ld.lld %t.o -o %t +# RUN: ld.lld %t.o -o %t -z separate-code # RUN: %lldb %t -s %S/Inputs/dir-separator-windows.lldbinit -o exit | FileCheck %s # CHECK-LABEL: image dump line-table a.c diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s b/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s index 14d110016e6..d6466708919 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-posix.s @@ -4,7 +4,7 @@ # REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o -# RUN: ld.lld %t.o -o %t +# RUN: ld.lld %t.o -o %t -z separate-code # RUN: %lldb %t -s %S/Inputs/dir-separator-posix.lldbinit -o exit | FileCheck %s # CHECK-LABEL: image dump line-table a.c diff --git a/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s b/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s index 1ba03cc6ab5..d64033546f7 100644 --- a/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s +++ b/lldb/lit/SymbolFile/DWARF/dir-separator-windows.s @@ -4,7 +4,7 @@ # REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o -# RUN: ld.lld %t.o -o %t +# RUN: ld.lld %t.o -o %t -z separate-code # RUN: %lldb %t -s %S/Inputs/dir-separator-windows.lldbinit -o exit | FileCheck %s # CHECK-LABEL: image dump line-table a.c diff --git a/lldb/lit/SymbolFile/DWARF/find-inline-method.s b/lldb/lit/SymbolFile/DWARF/find-inline-method.s index c88c9a21460..cfc5ef01dd3 100644 --- a/lldb/lit/SymbolFile/DWARF/find-inline-method.s +++ b/lldb/lit/SymbolFile/DWARF/find-inline-method.s @@ -1,7 +1,7 @@ # REQUIRES: lld, x86 # RUN: llvm-mc -triple x86_64-pc-linux %s -filetype=obj > %t.o -# RUN: ld.lld %t.o -o %t +# RUN: ld.lld %t.o -o %t -z separate-code # RUN: lldb-test symbols --find=function --name=inl --function-flags=method %t \ # RUN: | FileCheck %s |