[all-commits] [llvm/llvm-project] 1f3925: [clang][driver][AIX] Add system libc++ header path...

David Tenty via All-commits all-commits at lists.llvm.org
Wed Sep 15 07:42:52 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1f3925e25ae010c30273501d24b2bd4e0318fe7a
      https://github.com/llvm/llvm-project/commit/1f3925e25ae010c30273501d24b2bd4e0318fe7a
  Author: David Tenty <daltenty at ibm.com>
  Date:   2021-09-15 (Wed, 15 Sep 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/AIX.cpp
    M clang/lib/Driver/ToolChains/AIX.h
    M clang/test/Driver/aix-ld.c
    M clang/test/Driver/aix-toolchain-include.cpp

  Log Message:
  -----------
  [clang][driver][AIX] Add system libc++ header paths to driver

This change adds the system libc++ header location to the driver. As well we define
the `__LIBC_NO_CPP_MATH_OVERLOADS__` macro when using those headers, in order to suppress
conflicting C++ overloads in the system libc headers that were used by XL C++.

Reviewed By: ZarkoCA

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




More information about the All-commits mailing list