[patch] Allow linkonce_odr aliases
Rafael EspĂndola
rafael.espindola at gmail.com
Fri Oct 4 20:09:35 PDT 2013
I noticed that gcc produces alias when compiling
void g();
template<typename T>
struct foobar {
foobar() {
g();
}
};
foobar<void> x;
To do the same in clang (patch to go in a sec) we have to allow
linkonce_odr aliases in llvm. The attached patch does that.
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkonce-odr-alias.patch
Type: application/octet-stream
Size: 2873 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131004/e721619c/attachment.obj>
More information about the llvm-commits
mailing list