[llvm-commits] my 2nd attempt at now-infamous PR889

pawel kunio pawel.kunio at gmail.com
Wed Feb 16 21:13:40 PST 2011


Hello,
In a meantime of preparing 2 tests for PR9067, I came with my 2nd and
hopefully now more
successful attempt at now-infamous PR889 devirtualize Value destructor.

Please find patches for llvm and clang attached to this mail. As I can see
from mingw build
environment, it will need moving PseudoSourceValue.cpp from lib/CodeGen to
lib/VMCore
after applying patch (seems not to be required on vc build env, as order of
libraries given
to linker is not meaningful there).

Please note that destructors have been moved into protected part of
interface as well as
empty destructors were implemented for all Value-derived classes to help in
catching all
destructions.

Best regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110217/92313f9d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvm_Value_destr_devirtualize.patch
Type: application/octet-stream
Size: 118480 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110217/92313f9d/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_Value_destr_devirtualize.patch
Type: application/octet-stream
Size: 2710 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110217/92313f9d/attachment-0001.obj>


More information about the llvm-commits mailing list