diff options
author | Xinliang David Li <davidxl@google.com> | 2016-07-22 22:25:01 +0000 |
---|---|---|
committer | Xinliang David Li <davidxl@google.com> | 2016-07-22 22:25:01 +0000 |
commit | b7b335a2ce0acb82b680242c0910b423545f08f0 (patch) | |
tree | 07dccd1d8809074fa4dcb9bf274e08114395aa2d /clang/lib/CodeGen | |
parent | e063ddb3470d482a3dae086ce1d11f562e5e8e2e (diff) | |
download | bcm5719-llvm-b7b335a2ce0acb82b680242c0910b423545f08f0.tar.gz bcm5719-llvm-b7b335a2ce0acb82b680242c0910b423545f08f0.zip |
[Profile] Enable profile merging with -fprofile-generat[=<dir>]
This patch enables raw profile merging for this option which is the
new intended behavior.
llvm-svn: 276484
Diffstat (limited to 'clang/lib/CodeGen')
-rw-r--r-- | clang/lib/CodeGen/BackendUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp index 165b6dd55c9..c8594a10f84 100644 --- a/clang/lib/CodeGen/BackendUtil.cpp +++ b/clang/lib/CodeGen/BackendUtil.cpp @@ -456,7 +456,7 @@ void EmitAssemblyHelper::CreatePasses(legacy::PassManager &MPM, if (!CodeGenOpts.InstrProfileOutput.empty()) PMBuilder.PGOInstrGen = CodeGenOpts.InstrProfileOutput; else - PMBuilder.PGOInstrGen = "default.profraw"; + PMBuilder.PGOInstrGen = "default_%m.profraw"; } if (CodeGenOpts.hasProfileIRUse()) PMBuilder.PGOInstrUse = CodeGenOpts.ProfileInstrumentUsePath; |