[all-commits] [llvm/llvm-project] 66ab85: [Driver] Fix compiler-rt lookup for x32
Harald van Dijk via All-commits
all-commits at lists.llvm.org
Thu Jul 15 12:52:50 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 66ab8568c485c4dd7461f1acf0e55cd4a7a3b4a0
https://github.com/llvm/llvm-project/commit/66ab8568c485c4dd7461f1acf0e55cd4a7a3b4a0
Author: Harald van Dijk <harald at gigawatt.nl>
Date: 2021-07-15 (Thu, 15 Jul 2021)
Changed paths:
M clang/lib/Driver/ToolChain.cpp
M clang/test/Driver/sanitizer-ld.c
Log Message:
-----------
[Driver] Fix compiler-rt lookup for x32
x86_64-linux-gnu and x86_64-linux-gnux32 use different ABIs and objects
built for one cannot be used for the other. In order to build and use
compiler-rt for x32, we need to treat x32 as a new arch there. This
updates the driver to search using the new arch name.
Reviewed By: glaubitz
Differential Revision: https://reviews.llvm.org/D100148
More information about the All-commits
mailing list