[llvm] bf97c1e - [NFC] fix a wrong name change during rebase

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 25 21:17:34 PDT 2022


Author: wlei
Date: 2022-10-25T21:16:29-07:00
New Revision: bf97c1e06658ccba5cbf70a15fca3daeff3b0e77

URL: https://github.com/llvm/llvm-project/commit/bf97c1e06658ccba5cbf70a15fca3daeff3b0e77
DIFF: https://github.com/llvm/llvm-project/commit/bf97c1e06658ccba5cbf70a15fca3daeff3b0e77.diff

LOG: [NFC] fix a wrong name change during rebase

Added: 
    

Modified: 
    llvm/tools/llvm-profgen/ProfiledBinary.h

Removed: 
    


################################################################################
diff  --git a/llvm/tools/llvm-profgen/ProfiledBinary.h b/llvm/tools/llvm-profgen/ProfiledBinary.h
index 2073b4e8ed21..67b7e40b2a51 100644
--- a/llvm/tools/llvm-profgen/ProfiledBinary.h
+++ b/llvm/tools/llvm-profgen/ProfiledBinary.h
@@ -493,8 +493,8 @@ class ProfiledBinary {
     return I.first->second;
   }
 
-  Optional<SampleContextFrame> getInlineLeafFrameLoc(uint64_t Offset) {
-    const auto &Stack = getCachedFrameLocationStack(Offset);
+  Optional<SampleContextFrame> getInlineLeafFrameLoc(uint64_t Address) {
+    const auto &Stack = getCachedFrameLocationStack(Address);
     if (Stack.empty())
       return {};
     return Stack.back();


        


More information about the llvm-commits mailing list