[Gnu toolchain] Move GCC multilib/multiarch paths support from Linux to Gnu
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Fri, 1 May 2020 10:11:21 +0000 (12:11 +0200)
committerSylvestre Ledru <sylvestre@debian.org>
Fri, 1 May 2020 10:12:27 +0000 (12:12 +0200)
commitc298e5a022928b59941d74680a41fc9c76038b2a
treef90ff2771e41f8909be97d0289b17e8a439f18b0
parent91257fdb2195acf84f9c211dac480f78cc02fb0b
[Gnu toolchain] Move GCC multilib/multiarch paths support from Linux to Gnu

Summary: The current code for GNU/Linux is actually completely generic, and can be moved to Gnu, so it can benefit GNU/Hurd and GNU/kFreeBSD

Reviewers: kristina, sammccall, lebedev.ri, MaskRay, arsenm, phosek

Reviewed By: MaskRay, phosek

Subscribers: wdng, ormris, emaste, arichardson, krytarowski, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D73845
clang/lib/Driver/ToolChains/Hurd.cpp
clang/test/Driver/hurd.c