Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit a69340d

Browse files
committed
[libc] Add the 'cpp.new' as a dependency on atexit
The `atexit` function depends on the implementations in CPP/new.h but it is not listed as a dependency. This causes the GPU build to not include it in the `libcgpu.a` file and prevents us from using the startup code externally. Simply add it. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D158447
1 parent bb44a6b commit a69340d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

libc/src/stdlib/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,7 @@ add_entrypoint_object(
366366
libc.src.__support.fixedvector
367367
libc.src.__support.blockstore
368368
libc.src.__support.threads.mutex
369+
libc.src.__support.CPP.new
369370
)
370371

371372
add_entrypoint_object(

0 commit comments

Comments
 (0)