[LLVMbugs] [Bug 17577] Constructors/destructors that link/unlink objects could be better at eliminating dead objects
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Oct 15 07:28:05 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17577
Erik Corry <erik at arbat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #2 from Erik Corry <erik at arbat.com> ---
Wow that's excellent code. Looks like I just needed to upgrade to the latest
clang.
Unfortunately it seems that the Windows 32 bit ABI puts a stick in our spokes.
Even 1-word classes get passed in a complex way if the class has a constructor.
That is much too restrictive for us - if we can't pass our smart pointers in
the same way that raw pointers would be passed it gets very hard to meet our
performance targets. So right now our focus is not on smart pointers.
It would sure be nice if the compilers gave us some way to walk the stack and
find pointers of particular types. :-/
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20131015/41a62a9f/attachment.html>
More information about the llvm-bugs
mailing list