]> granicus.if.org Git - clang/commit
[Driver] Register effective triple before get arm float abi.
authorLeo Li <aoli@google.com>
Thu, 24 Aug 2017 01:51:51 +0000 (01:51 +0000)
committerLeo Li <aoli@google.com>
Thu, 24 Aug 2017 01:51:51 +0000 (01:51 +0000)
commit14840f889232ae3a896505b734d409f6acfcd536
tree0351376b98308718c9032dbdb54a3fd151e00473
parentaf5b021504d0578ec76e59fcf0d5b44b1b7f592d
[Driver] Register effective triple before get arm float abi.

Summary:
We need to register effective triple before calling `getARMFloatABI`.
Add missing code when `--print-libgcc-file-name` is passed.

Reviewers: atanasyan, rsmith, mgorny, peter.smith, kristof.beyls, compnerd, jroelofs

Reviewed By: compnerd

Subscribers: llvm-commits, aemerson, javed.absar, srhines, kristof.beyls, pirama

Differential Revision: https://reviews.llvm.org/D35742

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@311624 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/print-libgcc-file-name-clangrt.c