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
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 | Is this check necessary? | |
Comment Actions
-Fix instrprof-ld.c test to correctly skip to linker input.
| test/Driver/instrprof-ld.c | ||
|---|---|---|
| 119 | 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 | Can the linker be 'lld-link.exe'? | |
Can the linker be 'lld-link.exe'?