[PATCH] D15222: [Patch][Profile] add “--dependent-lib= libclang_rt.profile-x86_64.a” to the CC1 command line when enabling code coverage on PS4
Ying Yi via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 4 02:24:37 PST 2015
MaggieYi created this revision.
MaggieYi added reviewers: filcab, probinson, jmagee, phillip.power.
MaggieYi added a subscriber: cfe-commits.
Dear All,
This patch adds “--dependent-lib= libclang_rt.profile-x86_64.a” to the compiler command line when enabling code coverage on the PS4 target. A previous PS4 patch (http://reviews.llvm.org/rL250293) added -l libclang_rt.profile-x86_64.a to the linker command line, however, this meant the user needed to add –l when running the linker directly. This patch will improve the user workflow.
Please let me know if this is an acceptable patch.
Regards,
Ying Yi
SN Systems Ltd - Sony Computer Entertainment Group.
http://reviews.llvm.org/D15222
Files:
lib/Driver/Tools.cpp
test/Driver/ps4-runtime-flags.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15222.41850.patch
Type: text/x-patch
Size: 6931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151204/901db76d/attachment.bin>
More information about the cfe-commits
mailing list