diff options
author | Eric Fiselier <eric@efcs.ca> | 2018-10-11 00:17:24 +0000 |
---|---|---|
committer | Eric Fiselier <eric@efcs.ca> | 2018-10-11 00:17:24 +0000 |
commit | 42f9868cd80d2e09c75f4642e0a66c7ecd38cf18 (patch) | |
tree | 848b536158c20f7d3a43b96c833fb3e16b2a4d71 /lldb/source/Host/macosx/objcxx | |
parent | f953ea5fb6edbaee6c5bf051212e775dbabea8ff (diff) | |
download | bcm5719-llvm-42f9868cd80d2e09c75f4642e0a66c7ecd38cf18.tar.gz bcm5719-llvm-42f9868cd80d2e09c75f4642e0a66c7ecd38cf18.zip |
Distinguish between library and language support for aligned allocation.
There are two cases:
1. The library has all it needs to provide align_val_t and the
new/delete overloads needed to support aligned allocation.
2. The compiler has actually turned the language feature on.
There are times where libc++ needs to distinguish between the two.
This patch adds the additional macro
_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION which denotes when case (1)
does not hold. _LIBCPP_HAS_NO_ALIGNED_ALLOCATION is defined whenever
_LIBCPP_HAS_NO_LIBRARY_ALIGNED_ALLOCATION is defined, or when the
compiler has not enabled the language feature.
Additionally this patch cleans up a number of other macros related
to detection of aligned allocation machinery.
llvm-svn: 344207
Diffstat (limited to 'lldb/source/Host/macosx/objcxx')
0 files changed, 0 insertions, 0 deletions