aboutsummaryrefslogtreecommitdiff
path: root/clang
diff options
context:
space:
mode:
authorZequan Wu <zequanwu@google.com>2023-08-28 11:05:51 -0400
committerZequan Wu <zequanwu@google.com>2023-08-28 13:32:55 -0400
commitd80992032fd0d7da70b2bd1a59066703c3c21fbb (patch)
tree8ae274cdc6ea9d102b535665c897bae83b5b0540 /clang
parent3f00c7b2ab6f9d2b423874728d981bed25b7d3d4 (diff)
downloadllvm-d80992032fd0d7da70b2bd1a59066703c3c21fbb.zip
llvm-d80992032fd0d7da70b2bd1a59066703c3c21fbb.tar.gz
llvm-d80992032fd0d7da70b2bd1a59066703c3c21fbb.tar.bz2
Reland "[Profile] Allow online merging with debug info correlation."
Original patch: D157632. Fixed the issue when data is 0 by relaxing the condition. Reviewed By: ellis Differential Revision: https://reviews.llvm.org/D159000
Diffstat (limited to 'clang')
-rw-r--r--clang/lib/CodeGen/BackendUtil.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/BackendUtil.cpp b/clang/lib/CodeGen/BackendUtil.cpp
index 373d386..3e8b2b7 100644
--- a/clang/lib/CodeGen/BackendUtil.cpp
+++ b/clang/lib/CodeGen/BackendUtil.cpp
@@ -102,7 +102,7 @@ namespace {
// Default filename used for profile generation.
std::string getDefaultProfileGenName() {
- return DebugInfoCorrelate ? "default_%p.proflite" : "default_%m.profraw";
+ return DebugInfoCorrelate ? "default_%m.proflite" : "default_%m.profraw";
}
class EmitAssemblyHelper {