2 ;; Test that the referenced filename is correct (not <internal> or lto.tmp).
4 ; RUN: split-file %s %t
5 ; RUN: llvm-as %t/a.ll -o %ta.o
6 ; RUN: llvm-as %t/b.ll -o %tb.o
7 ; RUN: ld.lld --warn-backrefs --start-lib %tb.o --end-lib %ta.o -o /dev/null 2>&1 | FileCheck %s
9 ; CHECK: warning: backward reference detected: f in {{.*}}a.o refers to {{.*}}b.o
12 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
13 target triple = "x86_64-unknown-linux-gnu"
17 define void @_start() {
24 target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-f80:128-n8:16:32:64-S128"
25 target triple = "x86_64-unknown-linux-gnu"