summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormingmingl <mingmingl@google.com>2025-07-09 14:09:55 -0700
committermingmingl <mingmingl@google.com>2025-07-09 14:09:55 -0700
commit3dc111fa2bd94582da95df42bd8d4ffbb7fe6eb9 (patch)
tree7aa36d510345cbaff6e3cf6e038a5e2ac3879891
parenta925b7e0f4f339200592152e432c9b76569666cd (diff)
-rw-r--r--llvm/include/llvm/ProfileData/SampleProf.h3
-rw-r--r--llvm/test/tools/llvm-profdata/Inputs/sample-profile-ext.proftext4
2 files changed, 3 insertions, 4 deletions
diff --git a/llvm/include/llvm/ProfileData/SampleProf.h b/llvm/include/llvm/ProfileData/SampleProf.h
index 783f1f1f8ae2..ee9e8f7568c2 100644
--- a/llvm/include/llvm/ProfileData/SampleProf.h
+++ b/llvm/include/llvm/ProfileData/SampleProf.h
@@ -91,8 +91,7 @@ struct is_error_code_enum<llvm::sampleprof_error> : std::true_type {};
namespace llvm {
namespace sampleprof {
-constexpr char kBodySampleVTableProfPrefix[] = "<vt-call> ";
-// constexpr char kInlinedCallsiteVTablerofPrefix[] = "<vt-inline> ";
+constexpr char kBodySampleVTableProfPrefix[] = "vtables ";
enum SampleProfileFormat {
SPF_None = 0,
diff --git a/llvm/test/tools/llvm-profdata/Inputs/sample-profile-ext.proftext b/llvm/test/tools/llvm-profdata/Inputs/sample-profile-ext.proftext
index 2ba03ea9fb61..100133fa17cc 100644
--- a/llvm/test/tools/llvm-profdata/Inputs/sample-profile-ext.proftext
+++ b/llvm/test/tools/llvm-profdata/Inputs/sample-profile-ext.proftext
@@ -6,12 +6,12 @@ main:184019:0
6: 2080
7: 534
9: 2064 _Z3bari:1471 _Z3fooi:631
- 9: <vt-call> _ZTVbar:1471 _ZTVfoo:630
+ 9: vtables _ZTVbar:1471 _ZTVfoo:630
10: inline1:1000
1: 1000
10: inline2:2000
1: 2000
- 10: <vt-call> _ZTVinline1:1000 _ZTVinline2:2000
+ 10: vtables _ZTVinline1:1000 _ZTVinline2:2000
_Z3bari:20301:1437
1: 1437
_Z3fooi:7711:610