File tree 3 files changed +4
-4
lines changed
test/Analysis/CtxProfAnalysis
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class PGOContextualProfile {
41
41
std::optional<PGOCtxProfContext::CallTargetMapTy> Profiles;
42
42
// For the GUIDs in this module, associate metadata about each function which
43
43
// we'll need when we maintain the profiles during IPO transformations.
44
- DenseMap <GlobalValue::GUID, FunctionInfo> FuncInfo;
44
+ std::map <GlobalValue::GUID, FunctionInfo> FuncInfo;
45
45
46
46
// / Get the GUID of this Function if it's defined in this module.
47
47
GlobalValue::GUID getDefinedFunctionGUID (const Function &F) const ;
Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ define void @entrypoint() {
116
116
]
117
117
;--- expected.txt
118
118
Function Info:
119
- 10507721908651011566 : entrypoint . MaxCounterID: 1 . MaxCallsiteID: 2
119
+ 2072045998141807037 : f1 . MaxCounterID: 1 . MaxCallsiteID: 1
120
120
3087265239403591524 : f2.llvm.0 . MaxCounterID: 1 . MaxCallsiteID: 0
121
121
4197650231481825559 : f3. MaxCounterID: 1 . MaxCallsiteID: 1
122
- 2072045998141807037 : f1 . MaxCounterID: 1 . MaxCallsiteID: 1
122
+ 10507721908651011566 : entrypoint . MaxCounterID: 1 . MaxCallsiteID: 2
123
123
124
124
Current Profile:
125
125
[
Original file line number Diff line number Diff line change 58
58
;--- expected-profile-output.txt
59
59
Function Info:
60
60
4909520559318251808 : an_entrypoint. MaxCounterID: 2 . MaxCallsiteID: 1
61
- 12074870348631550642 : another_entrypoint_no_callees. MaxCounterID: 1 . MaxCallsiteID: 0
62
61
11872291593386833696 : foo. MaxCounterID: 1 . MaxCallsiteID: 1
62
+ 12074870348631550642 : another_entrypoint_no_callees. MaxCounterID: 1 . MaxCallsiteID: 0
63
63
64
64
Current Profile:
65
65
[
You can’t perform that action at this time.
0 commit comments