Skip to content

Commit 3dc111f

Browse files
code polish
1 parent a925b7e commit 3dc111f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

llvm/include/llvm/ProfileData/SampleProf.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ struct is_error_code_enum<llvm::sampleprof_error> : std::true_type {};
9191
namespace llvm {
9292
namespace sampleprof {
9393

94-
constexpr char kBodySampleVTableProfPrefix[] = "<vt-call> ";
95-
// constexpr char kInlinedCallsiteVTablerofPrefix[] = "<vt-inline> ";
94+
constexpr char kBodySampleVTableProfPrefix[] = "vtables ";
9695

9796
enum SampleProfileFormat {
9897
SPF_None = 0,

llvm/test/tools/llvm-profdata/Inputs/sample-profile-ext.proftext

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ main:184019:0
66
6: 2080
77
7: 534
88
9: 2064 _Z3bari:1471 _Z3fooi:631
9-
9: <vt-call> _ZTVbar:1471 _ZTVfoo:630
9+
9: vtables _ZTVbar:1471 _ZTVfoo:630
1010
10: inline1:1000
1111
1: 1000
1212
10: inline2:2000
1313
1: 2000
14-
10: <vt-call> _ZTVinline1:1000 _ZTVinline2:2000
14+
10: vtables _ZTVinline1:1000 _ZTVinline2:2000
1515
_Z3bari:20301:1437
1616
1: 1437
1717
_Z3fooi:7711:610

0 commit comments

Comments
 (0)