clang -static -coverage foo.c fails because the -lclang_rt.profile-*.a has a dependency on libc but is placed after libc in the link line.
This change place -lclang_rt.profile before -lc.
Details
Details
Diff Detail
Diff Detail
- Repository
- rC Clang
Differential D44964 |