-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Closed
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilla
Description
Bugzilla Link | 2883 |
Resolution | FIXED |
Resolved on | Nov 07, 2018 00:22 |
Version | trunk |
OS | Linux |
Reporter | LLVM Bugzilla Contributor |
CC | @asl |
Extended Description
Given a.ll
define weak void @foo() {
ret void
}
and b.ll
@foo = alias void ()* @fooreal
define void @fooreal() {
}
then linking a.ll with b.ll succeeds, but linking b.ll with
a.ll fails:
ddunbar@bohr:/foo$ llvm-as -f a.ll && llvm-as -f b.ll && llvm-link -f -o c.bc a.bc b.bc
ddunbar@bohr:/foo$ llvm-as -f a.ll && llvm-as -f b.ll && llvm-link -f -o c.bc b.bc a.bc
llvm-link: link error in 'a.bc': Function-Alias Collision on 'foo': symbol multiple defined
ddunbar@bohr:~/foo$
ddunbar@bohr:
Metadata
Metadata
Assignees
Labels
bugzillaIssues migrated from bugzillaIssues migrated from bugzilla