aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--llvm/tools/llvm-profgen/ProfiledBinary.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-profgen/ProfiledBinary.h b/llvm/tools/llvm-profgen/ProfiledBinary.h
index c55b198..7ceca1c 100644
--- a/llvm/tools/llvm-profgen/ProfiledBinary.h
+++ b/llvm/tools/llvm-profgen/ProfiledBinary.h
@@ -226,7 +226,7 @@ public:
return FuncStartAddrMap[Offset];
}
- Optional<const FrameLocation> getInlineLeafFrameLoc(uint64_t Offset) {
+ Optional<FrameLocation> getInlineLeafFrameLoc(uint64_t Offset) {
const auto &Stack = getFrameLocationStack(Offset);
if (Stack.empty())
return {};