[PATCH] D24991: Inline hot functions in libcxx shared_ptr implementation.
Sebastian Pop via cfe-commits
cfe-commits at lists.llvm.org
Wed Oct 26 09:42:40 PDT 2016
sebpop removed rL LLVM as the repository for this revision.
sebpop updated this revision to Diff 75908.
sebpop added a comment.
The patch also implements the idea that Marshall proposed in:
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20161010/173780.html
> I have an idea; it involves a macro that is sometimes "inline" and
> sometimes not, and changes when you're building the library vs. when you're
> just including the headers.
Tested on x86_64-linux.
The symbols for the functions that are now inlined still appear in the libc++.so.
Ok to commit?
https://reviews.llvm.org/D24991
Files:
libcxx/include/__atomic_support
libcxx/include/memory
libcxx/src/include/atomic_support.h
libcxx/src/memory.cpp
libcxx/src/mutex.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24991.75908.patch
Type: text/x-patch
Size: 14670 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20161026/a0551442/attachment-0001.bin>
More information about the cfe-commits
mailing list