This is an archive of the discontinued LLVM Phabricator instance.

Fix the clang driver when "-nostdlib" is present
ClosedPublic

Authored by sgundapa on Dec 1 2015, 2:58 PM.

Details

Summary

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.

Diff Detail

Event Timeline

sgundapa updated this revision to Diff 41566.Dec 1 2015, 2:58 PM
sgundapa retitled this revision from to Fix the clang driver when "-nostdlib" is present.
sgundapa updated this object.
sgundapa added reviewers: vkalintiris, echristo.
sgundapa added a subscriber: cfe-commits.
sgundapa updated this revision to Diff 41570.Dec 1 2015, 3:47 PM

Added a few tests in this new patch set

sgundapa updated this revision to Diff 41582.Dec 1 2015, 4:58 PM
vkalintiris accepted this revision.Dec 2 2015, 2:33 AM
vkalintiris edited edge metadata.

LGTM. Thank you for working on this.

This revision is now accepted and ready to land.Dec 2 2015, 2:33 AM
This revision was automatically updated to reflect the committed changes.