[PATCH] D31952: Build SymbolMap in SampleProfileLoader to help matchin function names with suffix.
David Li via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 17 14:23:52 PDT 2017
davidxl added inline comments.
================
Comment at: lib/Transforms/IPO/SampleProfile.cpp:1439
+ if (!r.second)
+ SymbolMap.erase(r.first);
+ }
----------------
Why erasing the existing entry?
https://reviews.llvm.org/D31952
More information about the llvm-commits
mailing list