forked from OSchip/llvm-project
[lldb] Fix test using lld on non-linux systems
This commit is contained in:
parent
974f00a436
commit
04329dbfa6
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue