diff options
author | Davide Italiano <davide@freebsd.org> | 2016-12-14 21:57:04 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2016-12-14 21:57:04 +0000 |
commit | 6b673b85edb18561b5008276da2700a323b41111 (patch) | |
tree | 42f4e6311d5167096740743ae774bdfaa9cf2122 /test/ThinLTO/X86/distributed_import.ll | |
parent | 62776a860a657b30007c0b24d9341bc405d3afa4 (diff) |
[LTO] Reject modules without datalayout.
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
Diffstat (limited to 'test/ThinLTO/X86/distributed_import.ll')
-rw-r--r-- | test/ThinLTO/X86/distributed_import.ll | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ThinLTO/X86/distributed_import.ll b/test/ThinLTO/X86/distributed_import.ll index b1ffd51359d..0a3f9c07f25 100644 --- a/test/ThinLTO/X86/distributed_import.ll +++ b/test/ThinLTO/X86/distributed_import.ll @@ -11,6 +11,8 @@ ; RUN: llvm-dis -o - %t2.out | FileCheck %s ; CHECK: @G.llvm.0 +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" + declare i32 @g(...) define void @f() { |