Revert "[Clang] Add option to set alternative toolchain path"
authorQiu Chaofan <qiucofan@cn.ibm.com>
Thu, 31 Mar 2022 07:51:11 +0000 (15:51 +0800)
committerQiu Chaofan <qiucofan@cn.ibm.com>
Thu, 31 Mar 2022 07:58:01 +0000 (15:58 +0800)
commite1b85430e98f243a32156617a54f3f01fd74fd8e
tree63b6b0bd3babc1dff98ebf09ec02954b657b7ffb
parentd6623d72461b5a1ed3bd3ac966d14329e5b0f851
Revert "[Clang] Add option to set alternative toolchain path"

--overlay-platform-toolchain inserts a whole new toolchain path with
higher priority than system default, which could be achieved by
composing smaller options. We need to figure out alternative solution
and what is missing among these basic options.
12 files changed:
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Driver/Driver.h
clang/include/clang/Driver/Options.td
clang/lib/Driver/Driver.cpp
clang/lib/Driver/ToolChains/Gnu.cpp
clang/lib/Driver/ToolChains/Linux.cpp
clang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-11.2.0/include/.keep [deleted file]
clang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-11.2.0/lib64/.keep [deleted file]
clang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-8.3.0/include/.keep [deleted file]
clang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-8.3.0/lib/gcc/powerpc64le-linux-gnu/8.3.0/.keep [deleted file]
clang/test/Driver/Inputs/powerpc64le-linux-gnu-tree/gcc-8.3.0/lib64/.keep [deleted file]
clang/test/Driver/overlay-toolchain.cpp [deleted file]