]> granicus.if.org Git - clang/commit
[Driver] Fix --hash-style choice for Android.
authorDan Albert <danalbert@google.com>
Thu, 11 Oct 2018 20:39:32 +0000 (20:39 +0000)
committerDan Albert <danalbert@google.com>
Thu, 11 Oct 2018 20:39:32 +0000 (20:39 +0000)
commitf3961d46c88845a099c9eefec828f891302c14c6
treee8d872d47b772a494c1bb24c4d3140ff3b56dc74
parentfcbd643e8f3c210bb467237e971270f8bdb87a01
[Driver] Fix --hash-style choice for Android.

Summary:
Android supports GNU style hashes as of Marshmallow, so we should be
generating both styles for pre-M targets and GNU hashes for newer
targets.

Reviewers: srhines, pirama

Reviewed By: srhines

Subscribers: cfe-commits

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@344293 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/ToolChains/Linux.cpp
test/Driver/linux-ld.c