[llvm-branch-commits] [llvm-profgen] Support [buildid:]0xaddr format in perfscript input (PR #190863)

via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Apr 7 17:10:17 PDT 2026


================
@@ -741,7 +797,13 @@ bool PerfScriptReader::extractCallstack(TraceStream &TraceIt,
 
     FrameAddr = Binary->canonicalizeVirtualAddress(FrameAddr);
     // Currently intermixed frame from different binaries is not supported.
-    if (!Binary->addressIsCode(FrameAddr)) {
+    bool IsExternal = !Binary->addressIsCode(FrameAddr);
----------------
HighW4y2H3ll wrote:

Can we merge the conditions here to make it easier to read?

https://github.com/llvm/llvm-project/pull/190863


More information about the llvm-branch-commits mailing list