]> granicus.if.org Git - clang/commit
NaCl ARM: fix assembler float abi flags
authorDerek Schuff <dschuff@google.com>
Fri, 10 Apr 2015 23:07:19 +0000 (23:07 +0000)
committerDerek Schuff <dschuff@google.com>
Fri, 10 Apr 2015 23:07:19 +0000 (23:07 +0000)
commit3ec9ae83a9d65e1484fe33fe3a80bb3aa8c79738
tree65539fd2ed032accbaa3b86ebd7be64f00e04c7d
parentf70dd98990cf548d70b8ad50d3d95a616600407f
NaCl ARM: fix assembler float abi flags

Summary:
tools::arm::getARMFloatABI() was falling back to guessing soft-float because
it wasn't seeing the GNUEABIHF environment from ComputeEffectivClangTriple
when it was called from gnutools::Assemble::ConstructJob.

Fix by using the effective clang triple in gnutools::Assemble, which now
matches the -triple flag used by cc1 and ClangAs jobs.

Reviewers: jvoung

Subscribers: rengolin, jfb, aemerson, cfe-commits

Differential Revision: http://reviews.llvm.org/D8902

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@234661 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Tools.cpp
test/Driver/nacl-direct.c