summaryrefslogtreecommitdiffstats
path: root/lldb/test/Shell/SymbolFile
diff options
context:
space:
mode:
authorJohannes Altmanninger <aclopte@gmail.com>2019-12-20 13:25:27 +0100
committerJohannes Altmanninger <aclopte@gmail.com>2019-12-20 13:27:40 +0100
commit04329dbfa6c219997ab72567842d81778f9f7f47 (patch)
treec5b200b0d71d4c2f00ed6663946d3b6e7815148b /lldb/test/Shell/SymbolFile
parent974f00a4369371fae9d25477753c0f68f331e05a (diff)
downloadbcm5719-llvm-04329dbfa6c219997ab72567842d81778f9f7f47.tar.gz
bcm5719-llvm-04329dbfa6c219997ab72567842d81778f9f7f47.zip
[lldb] Fix test using lld on non-linux systems
Diffstat (limited to 'lldb/test/Shell/SymbolFile')
-rw-r--r--lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test4
-rw-r--r--lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll4
2 files changed, 4 insertions, 4 deletions
diff --git a/lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test b/lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test
index 56397c949ef..5aa7759c5ed 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test
+++ b/lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test
@@ -1,5 +1,5 @@
-# REQUIRES: lld
-; RUN: llc %S/inline-function-address.ll -filetype=obj -o %t.o
+# REQUIRES: lld, x86
+; RUN: llc -mtriple x86_64-pc-linux %S/inline-function-address.ll -filetype=obj -o %t.o
; RUN: ld.lld %t.o %t.o -o %t -shared
; RUN: lldb-test symbols --find=function --name=foo --function-flags=full %t | FileCheck %s
; CHECK: Function: {{.*}} "foo"
diff --git a/lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll b/lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll
index 233e9200710..fde90d269a1 100644
--- a/lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll
+++ b/lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll
@@ -1,5 +1,5 @@
-; REQUIRES: lld
-; RUN: llc %s -filetype=obj -o %t.o
+; REQUIRES: lld, x86
+; RUN: llc -mtriple x86_64-pc-linux %s -filetype=obj -o %t.o
; RUN: ld.lld %t.o %t.o -o %t
; "foo" is defined in both compilation units, but there should be only one meaningful debuginfo entry
; RUN: lldb-test symbols --find=function --name=foo --function-flags=full %t | FileCheck %s
OpenPOWER on IntegriCloud