mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-01 17:28:26 +00:00
6b673b85ed
Also, udpate the ~60 failing tests in the tree which did not contain a valid datalayout. This fixes PR31123. lld will be updated in a following patch, immediately after this is committed. Differential Revision: https://reviews.llvm.org/D27082 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@289719 91177308-0d34-0410-b5e6-96231b3b80d8
12 lines
407 B
LLVM
12 lines
407 B
LLVM
; RUN: llvm-as -o %t1.bc %s
|
|
; RUN: llvm-as -o %t2.bc %S/Inputs/irmover-error.ll
|
|
; RUN: not %gold -plugin %llvmshlibdir/LLVMgold.so -o %t %t1.bc %t2.bc 2>&1 | FileCheck %s
|
|
|
|
; CHECK: fatal error: Failed to link module {{.*}}2.bc: linking module flags 'foo': IDs have conflicting values
|
|
|
|
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
|
|
|
|
!0 = !{ i32 1, !"foo", i32 1 }
|
|
|
|
!llvm.module.flags = !{ !0 }
|