Index: llvm/tools/sanstats/sanstats.cpp =================================================================== --- llvm/tools/sanstats/sanstats.cpp +++ llvm/tools/sanstats/sanstats.cpp @@ -81,8 +81,9 @@ // remove one from the address to get the correct DI. if (Expected LineInfo = Symbolizer.symbolizeCode(Filename, Addr - 1)) { - llvm::outs() << LineInfo->FileName << ':' << LineInfo->Line << ' ' - << LineInfo->FunctionName << ' '; + llvm::outs() << format_hex(Addr - 1, 18) << ' ' << LineInfo->FileName + << ':' << LineInfo->Line << ' ' << LineInfo->FunctionName + << ' '; } else { logAllUnhandledErrors(LineInfo.takeError(), llvm::outs(), " "); }