We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5600e83 commit 0df504eCopy full SHA for 0df504e
llvm/tools/llvm-profgen/ProfiledBinary.cpp
@@ -840,7 +840,7 @@ void ProfiledBinary::populateSymbolsFromBinary(const ObjectFile *Obj) {
840
// Internal suffixes from Bolt
841
".cold", ".warm",
842
// Compiler internal
843
- ".llvm.",
+ ".llvm."
844
});
845
StringRef FileName = Obj->getFileName();
846
for (const SymbolRef &Symbol : Obj->symbols()) {
@@ -877,6 +877,7 @@ void ProfiledBinary::populateSymbolsFromBinary(const ObjectFile *Obj) {
877
} else {
878
// Store/Update Function Range from SymTab
879
Func.Ranges.emplace_back(StartAddr, StartAddr + Size);
880
+ Func.FromSymtab = true;
881
882
auto R = StartAddrToFuncRangeMap.emplace(StartAddr, FuncRange());
883
FuncRange &FRange = R.first->second;
0 commit comments