[all-commits] [llvm/llvm-project] 5e5d21: BareMetal: detect usr/include/c++/v1 path in sysroot

m-gupta via All-commits all-commits at lists.llvm.org
Fri Oct 7 21:26:00 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e5d21462d1ea7dbaa13bcd9bcf0156cee45b97c
      https://github.com/llvm/llvm-project/commit/5e5d21462d1ea7dbaa13bcd9bcf0156cee45b97c
  Author: Manoj Gupta <manojgupta at google.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M clang/lib/Driver/ToolChains/BareMetal.cpp
    M clang/test/Driver/baremetal.cpp

  Log Message:
  -----------
  BareMetal: detect usr/include/c++/v1 path in sysroot

Currently baremetal driver adds <sysroot>/include/c++/v1
for libc++ headers. However on ChromeOS, all include files
are inside <sysroot>/usr/include. So add
<sysroot>/usr/include/c++/v1 if it exists in baremetal driver.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D134478




More information about the All-commits mailing list