[cfe-commits] mark vtables linkonce_odr
nicholas at mxc.ca
Sun Oct 25 23:54:19 PDT 2009
I was looking at Clang output for C++ code and noticed that we were
emitting vtables with 'weak' linkage. From what I can see, clang already
has the full declaration when it goes to emit the vtable, and should be
using 'linkonce_odr' which gives LLVM some hope of devirtualizing.
Is that correct? If so, the attached patch makes the 1-line change to
make it so. Please review!
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 564 bytes
Desc: not available
More information about the cfe-commits