Skip to content

Conversation

@googlewalt
Copy link
Contributor

No description provided.

@googlewalt googlewalt requested a review from a team as a code owner November 24, 2025 23:01
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Nov 24, 2025
@llvmbot
Copy link
Member

llvmbot commented Nov 24, 2025

@llvm/pr-subscribers-libcxx

Author: Walter Lee (googlewalt)

Changes

Full diff: https://github.com/llvm/llvm-project/pull/169418.diff

1 Files Affected:

  • (modified) libcxx/src/new.cpp (+1-1)
diff --git a/libcxx/src/new.cpp b/libcxx/src/new.cpp
index ce6b63775ce9c..70cdab683a861 100644
--- a/libcxx/src/new.cpp
+++ b/libcxx/src/new.cpp
@@ -6,9 +6,9 @@
 //
 //===----------------------------------------------------------------------===//
 
+#include "include/aligned_alloc.h"
 #include "include/overridable_function.h"
 #include <__assert>
-#include <__memory/aligned_alloc.h>
 #include <cstddef>
 #include <cstdlib>
 #include <new>

Copy link
Contributor

@boomanaiden154 boomanaiden154 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A more descriptive title/PR description would be good.

Otherwise LGTM.

//
//===----------------------------------------------------------------------===//

#include "include/aligned_alloc.h"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We probably want a // from libc++ like in the other headers in #166172.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think so? Here a libcxx source is including a libcxx include. There are no such markers for similar includes in this directory.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, right. Missed that the headers that were annotated there from from libc++abi.

@googlewalt googlewalt changed the title Fix #166172 Fix path to aligned_alloc.h in #include statement Nov 24, 2025
@googlewalt googlewalt enabled auto-merge (squash) November 24, 2025 23:13
@googlewalt googlewalt merged commit d9cf0db into llvm:main Nov 24, 2025
17 of 21 checks passed
aadeshps-mcw pushed a commit to aadeshps-mcw/llvm-project that referenced this pull request Nov 26, 2025
brave-builds pushed a commit to brave/chromium that referenced this pull request Nov 27, 2025
This morally picks up a single upstream PR that touches both
libc++ and libc++abi:

llvm/llvm-project#166172

Since we mirror libc++ and libc++abi separately, this single
commit has been split into one commit in each repo.

...and then there was a follow-up libc++-only buildfix for it:

llvm/llvm-project#169418

To pick both of these up, this rolls libcxxabi by one revision,
and libcxx by two. It combines these two rolls:

1.

Roll libcxxabi from de02e5d57052 to 83a852080747 (1 revision)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/de02e5d57052..83a852080747

2025-11-24 nikolasklauser@berlin.de [libc++][NFC] Move __memory/aligned_alloc.h into src/ (#166172)

2.

Roll libc++ from 25731e23e3aa to 13cfd0942dfd (2 revisions)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/25731e23e3aa..13cfd0942dfd

2025-11-24 49250218+googlewalt@users.noreply.github.com Fix path to aligned_alloc.h in #include statement (#169418)
2025-11-24 nikolasklauser@berlin.de [libc++][NFC] Move __memory/aligned_alloc.h into src/ (#166172)

Change-Id: I04f1081884978d693d8a6dac8089e5c417b355e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7201052
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1551246}
mohd-akram pushed a commit to gsource-mirror/chromium-src-buildtools that referenced this pull request Nov 27, 2025
This morally picks up a single upstream PR that touches both
libc++ and libc++abi:

llvm/llvm-project#166172

Since we mirror libc++ and libc++abi separately, this single
commit has been split into one commit in each repo.

...and then there was a follow-up libc++-only buildfix for it:

llvm/llvm-project#169418

To pick both of these up, this rolls libcxxabi by one revision,
and libcxx by two. It combines these two rolls:

1.

Roll libcxxabi from de02e5d57052 to 83a852080747 (1 revision)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxxabi.git/+log/de02e5d57052..83a852080747

2025-11-24 nikolasklauser@berlin.de [libc++][NFC] Move __memory/aligned_alloc.h into src/ (#166172)

2.

Roll libc++ from 25731e23e3aa to 13cfd0942dfd (2 revisions)

https://chromium.googlesource.com/external/github.com/llvm/llvm-project/libcxx.git/+log/25731e23e3aa..13cfd0942dfd

2025-11-24 49250218+googlewalt@users.noreply.github.com Fix path to aligned_alloc.h in #include statement (#169418)
2025-11-24 nikolasklauser@berlin.de [libc++][NFC] Move __memory/aligned_alloc.h into src/ (#166172)

Change-Id: I04f1081884978d693d8a6dac8089e5c417b355e8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7201052
Commit-Queue: Nico Weber <thakis@chromium.org>
Reviewed-by: Hans Wennborg <hans@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1551246}
NOKEYCHECK=True
GitOrigin-RevId: d9b454f01e84d2a064c8a230cd30702cfe2e6a93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants