diff options
author | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-01-11 00:33:35 +0100 |
---|---|---|
committer | Nikolas Klauser <nikolasklauser@berlin.de> | 2022-01-11 23:11:26 +0100 |
commit | e3cf70502cae1b29ece72a0d6ef28352ca2319fa (patch) | |
tree | cb108466fb62b9d2607e51d7842b72b6af3c828d /llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp | |
parent | 6479f03daec1786d1e45f9148bd9298caafba9d2 (diff) | |
download | llvm-e3cf70502cae1b29ece72a0d6ef28352ca2319fa.zip llvm-e3cf70502cae1b29ece72a0d6ef28352ca2319fa.tar.gz llvm-e3cf70502cae1b29ece72a0d6ef28352ca2319fa.tar.bz2 |
[libc++] Introduce __debug_db_insert_c()
There are a lot of
```
#if _LIBCPP_DEBUG_LEVEL == 2
__get_db()->__insert_c(this);
#endif
```
This patch introduces `__debug_db_insert_c()` to put the `#if` in one central place.
Reviewed By: ldionne, #libc
Spies: libcxx-commits
Differential Revision: https://reviews.llvm.org/D116947
Diffstat (limited to 'llvm/tools/llvm-libtool-darwin/llvm-libtool-darwin.cpp')
0 files changed, 0 insertions, 0 deletions