diff options
Diffstat (limited to 'compiler-rt/lib/profile/InstrProfilingPlatformWindows.c')
| -rw-r--r-- | compiler-rt/lib/profile/InstrProfilingPlatformWindows.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c b/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c index a94b9659fba..594e3945706 100644 --- a/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c +++ b/compiler-rt/lib/profile/InstrProfilingPlatformWindows.c @@ -16,9 +16,9 @@ #pragma comment(linker, "/MERGE:.lprfd=.data") #pragma comment(linker, "/MERGE:.lprfv=.data") #pragma comment(linker, "/MERGE:.lprfnd=.data") -/* Merge read-only sections into .rdata. */ -#pragma comment(linker, "/MERGE:.lprfn=.rdata") -#pragma comment(linker, "/MERGE:.lcovmap=.rdata") +/* Do *NOT* merge .lprfn and .lcovmap into .rdata. llvm-cov must be able to find + * after the fact. + */ /* Allocate read-only section bounds. */ #pragma section(".lprfn$A", read) |

