[all-commits] [llvm/llvm-project] a69340: [libc] Add the 'cpp.new' as a dependency on `atexit`

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Aug 21 13:08:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a69340dd810e327a3e431cb73adaa2d5b2b22ef9
      https://github.com/llvm/llvm-project/commit/a69340dd810e327a3e431cb73adaa2d5b2b22ef9
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-08-21 (Mon, 21 Aug 2023)

  Changed paths:
    M libc/src/stdlib/CMakeLists.txt

  Log Message:
  -----------
  [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




More information about the All-commits mailing list