5cb52824fc2a0caf233311e91d9a2a53368f04ad |
|
04-Mar-2015 |
Dan Albert <danalbert@google.com> |
Merge to upstream r231255. Change-Id: Ia8ee1801b42943464b99f28b6a83647458f3efb5
/external/libcxx/src/new.cpp
|
7112dae6acac544a0271a85d95342c583441e2d1 |
|
21-Nov-2014 |
Dan Albert <danalbert@google.com> |
Merge to upstream r222492. Change-Id: I6a0a6e90d217a69531ec3bb5ca0a367f39f4a1da
/external/libcxx/src/new.cpp
|
4c6acb5ecd7fab26583353261fd52a9f7ba2f1e0 |
|
04-Jan-2014 |
Joerg Sonnenberger <joerg@bec.de> |
Switch to using C++ style casts. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@198505 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
a46a0ad9e516eefff7d2240dd652bdcbe60645c7 |
|
12-Nov-2013 |
Marshall Clow <mclow.lists@gmail.com> |
Patch from Bruce Mitchener; fixes two typos in comments. No functionality change. PR17843 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@194432 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
d0d308f54baaa977292b6ea586a9577aa6e2a8e4 |
|
07-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Make it possible to link against libstdc++ as well as libsupc++ with CMake. Linking against libstdc++, rather than libsupc++, is probably better for people who need to link against clients of libstdc++. Because libsupc++ is provided only as a static library, its globals are not shared between the static library and the copy linked into libstdc++. This has been found to cause at least one test failure. This also removes a number of symbols which were multiply defined between libstdc++ and libc++, only when linking with libstdc++. Differential Revision: http://llvm-reviews.chandlerc.com/D1825 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@192075 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
40455c65da679c5789c14b2081417c432cd1173c |
|
07-Oct-2013 |
Peter Collingbourne <peter@pcc.me.uk> |
Eliminate more symbols multiply defined between libsupc++ and libc++. The remaining multiple definitions were flushed out by attempting to link libsupc++ and libc++ into the same executable with --whole-archive, e.g. clang++ -I../llvm/projects/libcxx/include -nodefaultlibs -Wl,--whole-archive lib/libc++.a /usr/lib/gcc/x86_64-linux-gnu/4.6/libsupc++.a -Wl,--no-whole-archive -lgcc -lgcc_s -lc -lpthread -lrt (The same technique was used to flush out multiple definitions in libstdc++.) Differential Revision: http://llvm-reviews.chandlerc.com/D1824 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@192074 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
35a98a00b37ee94471d7bcd4b4222572c07e958b |
|
06-Oct-2013 |
Howard Hinnant <hhinnant@apple.com> |
Use _LIBCPP_NEW_DELETE_VIS instead of LIBCPP_FUNC_VIS in src/new.cpp. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@192071 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
5a8b5783f867cbfc7210aa5c92755153b5a8f8d7 |
|
05-Oct-2013 |
Howard Hinnant <hhinnant@apple.com> |
G M: The attached patch is for libcxx's new.cpp and __config files. The patch's intent is to make new.cpp compile using MS's cl.exe compiler without changing the meaning of anything for any other compiler. The issue this patch seeks to address is that MS's compiler (cl.exe) doesn't support the __attribute__((__weak__)) or __atribute__((__visibility__("default")) syntax; so a solution must be found where cl.exe doesn't see this syntax. This patch seeks to solve this problem by changing code patterned like this: __attribute__((__weak__, __visibility__("default"))) void* operator new(size_t size, const std::nothrow_t&) _NOEXCEPT { /*snip*/; return p; } to code like this: _LIBCPP_WEAK void* operator new(size_t size, const std::nothrow_t&) _NOEXCEPT { return p; } Howard: Thanks for all the comments regarding the default visibility tag on the definition. I agree it isn't needed, and that there are lots of other places where it is missing. That being said, I'm not wanting to rock the boat on that issue right now. So I've added it back to the definition via _LIBCPP_FUNC_VIS. A later pass dedicated just to this issue can bring things in to a consistent state one way or the other. Note that we do not want to have the exact same attributes on the declaration and defintion in this case. The declaration should not be marked weak, whereas the definition should (which is what G M's patch did). I've fully tested on OS X to ensure that the resultant attribute syntax actually works. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@192007 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
7f9f52e6c645d4cfbcaf8c45e9b7e50afdc657a0 |
|
11-Sep-2013 |
Marshall Clow <mclow.lists@gmail.com> |
Adding bad_array_length to libc++ git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@190478 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
dece7fe6706591d80e4694a986446f756611733c |
|
18-Mar-2013 |
Marshall Clow <mclow@qualcomm.com> |
Removed raw references to __APPLE__; now just check to see if it is defined. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@177297 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
8b5bb3c5af878dbcbb548bac3579e46ad10189be |
|
26-Jul-2012 |
Howard Hinnant <hhinnant@apple.com> |
Patch by Andrew C. Morrow: Conditionally include cxxabi.h in new.cpp and typeinfo.cpp. Both new.cpp and typeinfo.cpp have code that is conditionally compiled based on the LIBCXXRT and _LIBCPPABI_VERSION defines, but those files do not currently include <cxxabi.h> in the non __APPLE__ case. The attached patch updates those files so that for non __APPLE__ builds <cxxabi.h> is included if available or if LIBCXXRT is set. I'm modeling this on the recent updates to exception.cpp. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@160790 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
21a84cfb8fbbf6333baf8b59aa5c9a34aa5430ab |
|
14-Mar-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Undo some overzealous #ifdefs for LIBCXXRT. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@152718 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
1e8b3f96c015e7e4a190eec7444b90d47be95540 |
|
29-Feb-2012 |
David Chisnall <csdavec@swan.ac.uk> |
Some libcxxrt-compatibility cleanups (avoid defining things twice). git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
9d84832741f9f2a136b95556df7e1b80b21ac3d0 |
|
25-Feb-2012 |
Howard Hinnant <hhinnant@apple.com> |
At least temporarily move operator new/delete from the abi back to here. I'm having trouble reexporting it as a weak symbol. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@151459 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
dea7f39af1ae5a71adfc0434b111962345193ef2 |
|
02-Feb-2012 |
Howard Hinnant <hhinnant@apple.com> |
Prepare for running on top of new libc++abi. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@149634 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
ec3773c2dadbeadfc5def927116c2ee9d9c53066 |
|
01-Dec-2011 |
Howard Hinnant <hhinnant@apple.com> |
Quash a whole bunch of warnings git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@145624 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
912012e9498ae6e315385c7284a96bcced67cb5f |
|
14-Jul-2011 |
Howard Hinnant <hhinnant@apple.com> |
http://llvm.org/bugs/show_bug.cgi?id=10353 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135125 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
ed56921d6e491eb96f489cedf24fed393fdfc0bf |
|
26-May-2011 |
Howard Hinnant <hhinnant@apple.com> |
Applied noexcept to everything in [language.support] (Chapter 18) git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@132129 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
d42c4beeff6b709d3df456e2e3eaa2b0e08b4192 |
|
04-Dec-2010 |
Howard Hinnant <hhinnant@apple.com> |
oops, forgot std:: git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@120915 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
1f970ad73a9d57680b747ac8342097b30190eebb |
|
04-Dec-2010 |
Howard Hinnant <hhinnant@apple.com> |
Fix up uses of new/terminate/unexpected handlers to use the new getters. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@120914 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
a445151f4a1a9abf852cd7b84d6328687bb3294c |
|
02-Dec-2010 |
Howard Hinnant <hhinnant@apple.com> |
N3189 Observers for the three handler functions git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@120712 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
b64f8b07c104c6cc986570ac8ee0ed16a9f23976 |
|
16-Nov-2010 |
Howard Hinnant <hhinnant@apple.com> |
license change git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@119395 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
d510977c4dccbc249dff951e73ea0651d1fa59d7 |
|
22-Aug-2010 |
Howard Hinnant <hhinnant@apple.com> |
Remove tabs git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111778 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
16e6e1d72fd6a10fc165eba4ca4ed2fa7c45df78 |
|
22-Aug-2010 |
Howard Hinnant <hhinnant@apple.com> |
Fixing whitespace problems git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@111751 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
d444470d6cd1cad554139c4ba7f3c4f3fe921a5d |
|
11-Aug-2010 |
Howard Hinnant <hhinnant@apple.com> |
now works with -fno-exceptions and -fno-rtti git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@110828 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
adff4895b2746f30b271bc219713e7ded5ae9677 |
|
24-May-2010 |
Howard Hinnant <hhinnant@apple.com> |
patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
76fdaa7c7099d653e0a03470cfafb9cd5b36d756 |
|
19-May-2010 |
Nick Kledzik <kledzik@apple.com> |
Add set_new_handler and nothrow implementations git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@104073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
804b6e73d41fc61cae5be513276183c69a4530b5 |
|
14-May-2010 |
Nick Kledzik <kledzik@apple.com> |
add headers and implementation for <new>, <exception>, and <typeinfo> git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103795 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
f5256e16dfc425c1d466f6308d4026d529ce9e0b |
|
11-May-2010 |
Howard Hinnant <hhinnant@apple.com> |
Wiped out some non-ascii characters that snuck into the copyright. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103516 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|
bc8d3f97eb5c958007f2713238472e0c1c8fe02c |
|
11-May-2010 |
Howard Hinnant <hhinnant@apple.com> |
libcxx initial import git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@103490 91177308-0d34-0410-b5e6-96231b3b80d8
/external/libcxx/src/new.cpp
|