diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2012-07-24 12:29:43 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2012-07-24 12:29:43 +0000 |
commit | bcf0b7002bc117ec261ec86f1905d8077923ab26 (patch) | |
tree | 0cfd3bbcdf232822333e83c659ee1c3bc21e4f6a /compiler-rt/lib/tsan/rtl/tsan_report.cc | |
parent | 65d842ae5116977459b5ba3c43dd9966e2e8ed24 (diff) | |
download | bcm5719-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.cc | 4 |
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); } } |