[PATCH] D51643: [SampleFDO] Make sample profile loader unaware of compact format change

David Li via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 6 10:05:51 PDT 2018


davidxl added inline comments.


================
Comment at: include/llvm/ProfileData/SampleProf.h:464
+        /// original local name. In sample profile, the suffixes of function
+        /// names are all stripped. Since it is possible that the mapper is
+        /// built in post-thin-link phase and var promotion has been done,
----------------
why are those suffixes stripped in sample profile?


Repository:
  rL LLVM

https://reviews.llvm.org/D51643





More information about the llvm-commits mailing list