[all-commits] [llvm/llvm-project] ae63b1: [libc] Adjust NVPTX startup code

Joseph Huber via All-commits all-commits at lists.llvm.org
Wed Mar 22 18:08:41 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ae63b1a5767b89fe5af140365f9e3ccf74feb1f0
      https://github.com/llvm/llvm-project/commit/ae63b1a5767b89fe5af140365f9e3ccf74feb1f0
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-03-22 (Wed, 22 Mar 2023)

  Changed paths:
    M libc/startup/gpu/nvptx/CMakeLists.txt
    M libc/startup/gpu/nvptx/start.cpp

  Log Message:
  -----------
  [libc] Adjust NVPTX startup code

Summary:
The startup code needs to include the environment pointer so we add this
to the arguments. Also we need to ensure that the `crt1.o` file is made
with `-fgpu-rdc` set so we can actually use it without undefined
reference errors.




More information about the All-commits mailing list