diff --git a/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp b/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp --- a/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp +++ b/llvm/lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp @@ -417,7 +417,7 @@ rec.Prefix.Timestamp = perf_get_timestamp(); rec.CodeSize = CodeSize; - rec.Vma = 0; + rec.Vma = CodeAddr; rec.CodeAddr = CodeAddr; rec.Pid = Pid; rec.Tid = get_threadid();