[all-commits] [llvm/llvm-project] 16c2a9: [libc][fix] Add missing 'errno' header for the GPU...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Apr 25 11:27:51 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16c2a906b854e31d8b3d05d8478bd0f60388e68c
      https://github.com/llvm/llvm-project/commit/16c2a906b854e31d8b3d05d8478bd0f60388e68c
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-04-25 (Tue, 25 Apr 2023)

  Changed paths:
    M libc/config/gpu/entrypoints.txt
    M libc/config/gpu/headers.txt
    M libc/src/errno/libc_errno.cpp

  Log Message:
  -----------
  [libc][fix] Add missing 'errno' header for the GPU libc

Summary:
The previous GPU `libc` patch added support for `atoi`. However, it
didn't also enable generating the errno header. This caused including it
to use the system's header which invariably will cause compiler
problems.




More information about the All-commits mailing list