]> granicus.if.org Git - clang/commit
Fix the clang driver when "-nostdlib" is present
authorSumanth Gundapaneni <sgundapa@codeaurora.org>
Wed, 2 Dec 2015 19:12:41 +0000 (19:12 +0000)
committerSumanth Gundapaneni <sgundapa@codeaurora.org>
Wed, 2 Dec 2015 19:12:41 +0000 (19:12 +0000)
commitb08c74ee24adc7b8e5c09d513a970b27f77dacdf
tree4a69781026c8dcf64b7ce4ab6156653cb575790b
parentb5b68257780383bb7001a14559c695ca2408cded
Fix the clang driver when "-nostdlib" is present

This patch is a fix to r252901 which changed the behavior of
clang driver. In the presence of "-nostdlib" none of the standard
libraries should be passed to link line.

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

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