add more missing "anchors" by using -Wweak-vtable.
Details
Diff Detail
Event Timeline
I'd say if we can't actually get it totally clean & enable the warning, maybe it's not worth doing all this? & you (& others in your situation) can contribute patches on an as-needed basis?
Though I don't mind too much having these committed.
include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h | ||
---|---|---|
160 | This isn't an anchor, though, since it's defined in-line? | |
include/llvm/MC/MCSubtargetInfo.h | ||
178 | Probably make this private as you've done in other cases. | |
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | ||
547 | Take it this caused some link problems/layering violations? |
maybe we can apply the -Wweak-vtable flag lib by lib. does the CMakeList support it?
lib/DebugInfo/DWARF/DWARFDebugFrame.cpp | ||
---|---|---|
547 | This "anchor" is not needed. I forgot to remove it. Thanks for catching it. |
(the fact that phabricator just ignores some mails is annoying)
Already replied via mail: http://lists.llvm.org/pipermail/llvm-commits/Week-of-Mon-20180416/544528.html
This isn't an anchor, though, since it's defined in-line?