summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib/tsan/rtl/tsan_report.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2012-07-24 12:29:43 +0000
committerDmitry Vyukov <dvyukov@google.com>2012-07-24 12:29:43 +0000
commitbcf0b7002bc117ec261ec86f1905d8077923ab26 (patch)
tree0cfd3bbcdf232822333e83c659ee1c3bc21e4f6a /compiler-rt/lib/tsan/rtl/tsan_report.cc
parent65d842ae5116977459b5ba3c43dd9966e2e8ed24 (diff)
downloadbcm5719-llvm-bcf0b7002bc117ec261ec86f1905d8077923ab26.tar.gz
bcm5719-llvm-bcf0b7002bc117ec261ec86f1905d8077923ab26.zip
tsan: align report style with Go internal format
llvm-svn: 160672
Diffstat (limited to 'compiler-rt/lib/tsan/rtl/tsan_report.cc')
-rw-r--r--compiler-rt/lib/tsan/rtl/tsan_report.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/tsan/rtl/tsan_report.cc b/compiler-rt/lib/tsan/rtl/tsan_report.cc
index a83f7b70b16..c841a9827f4 100644
--- a/compiler-rt/lib/tsan/rtl/tsan_report.cc
+++ b/compiler-rt/lib/tsan/rtl/tsan_report.cc
@@ -131,8 +131,8 @@ void PrintReport(const ReportDesc *rep) {
static void PrintStack(const ReportStack *ent) {
for (int i = 0; ent; ent = ent->next, i++) {
- TsanPrintf(" %s()\n %s:%d +%p\n",
- ent->func, ent->file, ent->line, (void*)ent->pc);
+ TsanPrintf(" %s()\n %s:%d +0x%zx\n",
+ ent->func, ent->file, ent->line, (void*)ent->offset);
}
}
OpenPOWER on IntegriCloud