Files
clang-p2996/llvm/test/tools/gold/X86/Inputs/comdat2.ll
Davide Italiano 2ceb628f36 [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
2016-12-14 21:57:04 +00:00

12 lines
206 B
LLVM

target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
$foo = comdat any
@foo = global i8 1, comdat
define void @zed() {
call void @bar()
ret void
}
define void @bar() comdat($foo) {
ret void
}