[all-commits] [llvm/llvm-project] 932e8c: hurd: Detect libstdc++ include paths on Debian Hur...

Samuel Thibault via All-commits all-commits at lists.llvm.org
Tue Apr 27 13:05:05 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 932e8c3241541c0216968a0f966c495b77bf4461
      https://github.com/llvm/llvm-project/commit/932e8c3241541c0216968a0f966c495b77bf4461
  Author: Samuel Thibault <samuel.thibault at ens-lyon.org>
  Date:   2021-04-27 (Tue, 27 Apr 2021)

  Changed paths:
    M clang/lib/Driver/ToolChains/Gnu.cpp
    M clang/lib/Driver/ToolChains/Gnu.h
    M clang/lib/Driver/ToolChains/Hurd.cpp
    M clang/lib/Driver/ToolChains/Hurd.h
    M clang/lib/Driver/ToolChains/Linux.cpp
    A clang/test/Driver/Inputs/basic_hurd_tree/usr/include/c++/4.6.0/.keep
    A clang/test/Driver/Inputs/basic_hurd_tree/usr/include/i386-gnu/c++/4.6.0/.keep
    R clang/test/Driver/hurd.c
    A clang/test/Driver/hurd.cpp

  Log Message:
  -----------
  hurd: Detect libstdc++ include paths on Debian Hurd i386

This is a follow-up of e92d2b80c6c9 ("[Driver] Detect libstdc++ include
paths for native gcc (-m32 and -m64) on Debian i386") for the Debian Hurd
case, which has the same multiarch name reduction from i686 to i386.
i386-linux-gnu is actually Linux-only, so this moves the code of that commit
to Linux.cpp, and adds the same to Hurd.cpp

Reviewed By: MaskRay

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




More information about the All-commits mailing list