File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
test/Analysis/CtxProfAnalysis Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ class PGOContextualProfile {
4141 std::optional<PGOCtxProfContext::CallTargetMapTy> Profiles;
4242 // For the GUIDs in this module, associate metadata about each function which
4343 // we'll need when we maintain the profiles during IPO transformations.
44- DenseMap <GlobalValue::GUID, FunctionInfo> FuncInfo;
44+ std::map <GlobalValue::GUID, FunctionInfo> FuncInfo;
4545
4646 // / Get the GUID of this Function if it's defined in this module.
4747 GlobalValue::GUID getDefinedFunctionGUID (const Function &F) const ;
Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ define void @entrypoint() {
116116]
117117;--- expected.txt
118118Function Info:
119- 10507721908651011566 : entrypoint . MaxCounterID: 1 . MaxCallsiteID: 2
119+ 2072045998141807037 : f1 . MaxCounterID: 1 . MaxCallsiteID: 1
1201203087265239403591524 : f2.llvm.0 . MaxCounterID: 1 . MaxCallsiteID: 0
1211214197650231481825559 : f3. MaxCounterID: 1 . MaxCallsiteID: 1
122- 2072045998141807037 : f1 . MaxCounterID: 1 . MaxCallsiteID: 1
122+ 10507721908651011566 : entrypoint . MaxCounterID: 1 . MaxCallsiteID: 2
123123
124124Current Profile:
125125[
Original file line number Diff line number Diff line change 5858;--- expected-profile-output.txt
5959Function Info:
60604909520559318251808 : an_entrypoint. MaxCounterID: 2 . MaxCallsiteID: 1
61- 12074870348631550642 : another_entrypoint_no_callees. MaxCounterID: 1 . MaxCallsiteID: 0
626111872291593386833696 : foo. MaxCounterID: 1 . MaxCallsiteID: 1
62+ 12074870348631550642 : another_entrypoint_no_callees. MaxCounterID: 1 . MaxCallsiteID: 0
6363
6464Current Profile:
6565[
You can’t perform that action at this time.
0 commit comments