[llvm] [BOLT][NFC] Fix an incorrect address used in a BOLT-INFO message (PR #127902)

YongKang Zhu via llvm-commits llvm-commits at lists.llvm.org
Wed Feb 19 13:38:19 PST 2025


https://github.com/yozhu created https://github.com/llvm/llvm-project/pull/127902

None

>From ec5d83fbfcde0fa51d70a706d0c026fd2721e899 Mon Sep 17 00:00:00 2001
From: YongKang Zhu <yongzhu at fb.com>
Date: Wed, 19 Feb 2025 13:36:52 -0800
Subject: [PATCH] [BOLT][NFC] Fix an incorrect address used in a BOLT-INFO
 message

---
 bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp b/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
index f3199ebb00b3d..217b4f23e8572 100644
--- a/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
+++ b/bolt/lib/RuntimeLibs/InstrumentationRuntimeLibrary.cpp
@@ -219,7 +219,7 @@ void InstrumentationRuntimeLibrary::link(
   }
   outs() << "BOLT-INFO: output linked against instrumentation runtime "
             "library, lib entry point is 0x"
-         << Twine::utohexstr(RuntimeFiniAddress) << "\n";
+         << Twine::utohexstr(RuntimeStartAddress) << "\n";
   outs() << "BOLT-INFO: clear procedure is 0x"
          << Twine::utohexstr(
                 Linker.lookupSymbol("__bolt_instr_clear_counters").value_or(0))



More information about the llvm-commits mailing list