This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Print path to correct rtlib for -print-libgcc-file-name
AbandonedPublic

Authored by phosek on Oct 4 2016, 3:02 PM.

Details

Reviewers
None
Summary

When compiler-rt is being used as a runtime library, Clang would print an invalid path when -print-libgcc-file-name option is used. We should print a path to compiler-rt builtin library instead.

Diff Detail

Event Timeline

phosek updated this revision to Diff 73559.Oct 4 2016, 3:02 PM
phosek retitled this revision from to [Driver] Print path to correct rtlib for -print_libgcc_file_name.
phosek updated this object.
phosek set the repository for this revision to rL LLVM.
phosek added a subscriber: cfe-commits.
phosek retitled this revision from [Driver] Print path to correct rtlib for -print_libgcc_file_name to [Driver] Print path to correct rtlib for -print-libgcc-file-name.Oct 10 2016, 12:17 AM
phosek updated this object.
phosek abandoned this revision.Oct 10 2016, 12:30 AM

Michał Górny has submitted the same change as D25338 and his change seems to be getting more traction.