diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2013-10-29 10:27:30 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2013-10-29 10:27:30 +0000 |
| commit | 2a9b75840ed7f18c36e988ea52d1f434bb004d4f (patch) | |
| tree | 658e11a5df98e03974d98d23da11bcbbced4e9ae /lib/CodeGen/CodeGenFunction.cpp | |
| parent | 909f35a884045c658e5c4565499f113ee63dfc1d (diff) | |
| download | clang-2a9b75840ed7f18c36e988ea52d1f434bb004d4f.tar.gz clang-2a9b75840ed7f18c36e988ea52d1f434bb004d4f.tar.bz2 clang-2a9b75840ed7f18c36e988ea52d1f434bb004d4f.tar.xz | |
Teach the driver to not try to use 'lib32' multilib spellings on ARM
which doesn't use that multilib. As a consequence, fix Clang's support
for cross compiling environments that were relying on this quirk to
ensure the correct library search path ordering.
This also re-instates the new test cases from Rafael's r193528 for
cross-compiling to ARM on Ubuntu 13.10 without any of the changes to the
existing test cases (they were no longer needed).
This solution was the result of a lot of IRC debugging and trying to
understand *exactly* what quirk was being relied upon. It took some time
for me to figure out that it was the use of 'lib32' is a multilib that
was throwing a wrench in the works.
In case you are thinking that its silly to use a multilib of 'lib' at
all, entertainingly, GCC does so as well (you can see it with the
.../lib/../lib/crt1.o pattern it uses), and the 2-phase sequence of
search paths (multilib followed by non-multilib) has observable (if
dubious) consequences. =/ Yuck.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@193601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions
