[LLVMdev] recognizing DTORs and vptr updates in LLVM.

Chandler Carruth chandlerc at google.com
Mon Mar 19 17:38:51 PDT 2012


On Mon, Mar 19, 2012 at 5:36 PM, Kostya Serebryany <kcc at google.com> wrote:

> .. and will not solve my problem -- I still need to distinguish between
> "benign-for-practical-purposes" and "definitely-harmful" vptr races.
> The only difference between those two cases lies outside of the
> instrumented function.
> (it depends on the dynamic type of the object being destroyed).


I see. So essentially, this is purely a QoI issue, and it just happens to
be so common that we can't get everyone to fix their code.

Instruction-level metadata sounds better and better. =[ It's not great, but
at least you have evidence that this won't be an unending series of QoI
issues.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120319/b6d42586/attachment.html>


More information about the llvm-dev mailing list