commit | 79c91a9810c928d7f6d0cb168c10ce470a714aa8 | [log] [tgz] |
---|---|---|
author | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Wed Nov 29 21:15:04 2017 +0000 |
committer | Aliaksey Kandratsenka <alkondratenko@gmail.com> | Wed Nov 29 21:44:52 2017 +0000 |
tree | c726f08a77e13c79ca63b814259485ce30d6a0cb | |
parent | 03da6afff57c12845260997213b6ad89e420bab3 [diff] |
always define empty PERFTOOLS_NOTHROW Because somehow clang still builds "this function will not throw" code even with noexcept. Which breaks performance of tc_malloc/tc_new_nothrow. The difference with throw() seems to be just which function is called when unexpected exception happens. So we work around this sillyness by simply dropping any exception specification when compiling tcmalloc.