[libcxx-commits] [libcxx] [libcxxabi] [libc++][NFC] Move __memory/aligned_alloc.h into src/ (PR #166172)

Nico Weber via libcxx-commits libcxx-commits at lists.llvm.org
Wed Nov 26 10:09:42 PST 2025


nico wrote:

A different question about the same file: We're instead seeing:

```
[1285/98564] CXX obj/buildtools/third_party/libc++abi/libc++abi/fallback_malloc.o
../../third_party/llvm-build/Release+Asserts/bin/clang++ -MMD -MF obj/buildtools/third_party/libc++abi/libc++abi/fallback_malloc.o.d -DLIBCXXA...(too long)
../../third_party/libc++abi/src/src/fallback_malloc.cpp:19:10: fatal error: '__memory/aligned_alloc.h' file not found
   19 | #include <__memory/aligned_alloc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```

The PR description says "This header is only ever used inside src/". I suppose libcxxabi/src is also inside src/ – is libcxx/src supposed to be on libcxxabi's include search path?


https://github.com/llvm/llvm-project/pull/166172


More information about the libcxx-commits mailing list