]> granicus.if.org Git - clang/commit
Reword and reformat some of the "Multiarch" code in the toolchain setup.
authorChandler Carruth <chandlerc@gmail.com>
Sat, 22 Jun 2013 11:35:51 +0000 (11:35 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sat, 22 Jun 2013 11:35:51 +0000 (11:35 +0000)
commitd79486a19298af172dfa085d536e178e7b5ff20b
tree1d2aae1c2350f17805171995153d3db8118e0510
parent2f686697187e8834346b7924797d44c978252ec6
Reword and reformat some of the "Multiarch" code in the toolchain setup.

There are fundamentally two different things that were getting conflated
here.

1) A bi-arch GCC toolchain install. This is not a full blown cross
   compiler, but it supports targetting both 32-bit and 64-bit variants
   of the same architecture using multilib OS installs and runtimes.

2) A "multiarch" Debian OS/runtime layout that lays out the libraries,
   headers, etc as-if there were going to be a full blown cross compiler
   even when in reality it is just a bi-arch GCC targeting two variants.
   Also, these tend to use oddly "canonicalized" triples without the
   vendor in them unlike the typical cross compiler runtime library
   search that vanilla GCC cross compilers perform.

Now, when we mean the bi-arch nature of GCC accomplished with just
a suffix or tweak to the GCC paths, we say 'Biarch' or something
related. When we mean the Debian layout of includes and libraries, we
say multiarch or reference the multiarch triple.

In the process of reading and often renaming stuff in all these places,
also reformat with clang-format. No functionality change should be going
on here, this is just tidying up.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@184632 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains.cpp
lib/Driver/ToolChains.h