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
LLVM libc ========= This directory and its subdirectories contain source code for llvm-libc, a retargetable implementation of the C standard library. LLVM is open source software. You may freely distribute it under the terms of the license agreement found in LICENSE.txt.