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 | 2ceb628f364bfb2444df6b819ccc22a46fac0a58 (patch) | |
tree | b2771ffd3828ac13417872d3660afaaed4b22795 /llvm/test/tools/llvm-lto2/errors.ll | |
parent | dd9688703c0c4df836d0b1ad0d93ccad33c00d2e (diff) | |
download | bcm5719-llvm-2ceb628f364bfb2444df6b819ccc22a46fac0a58.tar.gz bcm5719-llvm-2ceb628f364bfb2444df6b819ccc22a46fac0a58.zip |
[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
llvm-svn: 289719
Diffstat (limited to 'llvm/test/tools/llvm-lto2/errors.ll')
-rw-r--r-- | llvm/test/tools/llvm-lto2/errors.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/tools/llvm-lto2/errors.ll b/llvm/test/tools/llvm-lto2/errors.ll index cd2394dc012..25c05430c93 100644 --- a/llvm/test/tools/llvm-lto2/errors.ll +++ b/llvm/test/tools/llvm-lto2/errors.ll @@ -8,4 +8,7 @@ ; ERR2: unused symbol resolution for {{.*}}.bc,bar ; ERR3: invalid character q in resolution: {{.*}}.bc,foo ; ERR4: invalid resolution: foo + +target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128" + @foo = global i32 0 |