This change enables clang to automatically link binaries built with the -fprofile-instr-generate against the clang_rt.profile-i386.lib library.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
Updated for davidxl's comments:
-Added test for linker flag in test/Driver/instrprof-ld.c
test/Driver/instrprof-ld.c | ||
---|---|---|
119 ↗ | (On Diff #43932) | Is this check necessary? |
Comment Actions
-Fix instrprof-ld.c test to correctly skip to linker input.
test/Driver/instrprof-ld.c | ||
---|---|---|
119 ↗ | (On Diff #43932) | Ah - that wasn't doing quite what I wanted. Similar to the other tests we want to skip to the point where the linker args are given. Fixed. |
test/Driver/instrprof-ld.c | ||
---|---|---|
114 ↗ | (On Diff #43947) | Can the linker be 'lld-link.exe'? |