Skip to content

Commit 04329db

Browse files
committed
[lldb] Fix test using lld on non-linux systems
1 parent 974f00a commit 04329db

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

lldb/test/Shell/SymbolFile/DWARF/inline-function-address-shared.test

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# REQUIRES: lld
2-
; RUN: llc %S/inline-function-address.ll -filetype=obj -o %t.o
1+
# REQUIRES: lld, x86
2+
; RUN: llc -mtriple x86_64-pc-linux %S/inline-function-address.ll -filetype=obj -o %t.o
33
; RUN: ld.lld %t.o %t.o -o %t -shared
44
; RUN: lldb-test symbols --find=function --name=foo --function-flags=full %t | FileCheck %s
55
; CHECK: Function: {{.*}} "foo"

lldb/test/Shell/SymbolFile/DWARF/inline-function-address.ll

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
; REQUIRES: lld
2-
; RUN: llc %s -filetype=obj -o %t.o
1+
; REQUIRES: lld, x86
2+
; RUN: llc -mtriple x86_64-pc-linux %s -filetype=obj -o %t.o
33
; RUN: ld.lld %t.o %t.o -o %t
44
; "foo" is defined in both compilation units, but there should be only one meaningful debuginfo entry
55
; RUN: lldb-test symbols --find=function --name=foo --function-flags=full %t | FileCheck %s

0 commit comments

Comments
 (0)