forked from OSchip/llvm-project
[HWASan] Show memory rather than tag addresses in tag dump
Reviewed By: eugenis Differential Revision: https://reviews.llvm.org/D133380
This commit is contained in:
parent
c89b78a22b
commit
4f5147a7cf
|
@ -518,7 +518,7 @@ static void PrintTagInfoAroundAddr(tag_t *tag_ptr, uptr num_rows,
|
|||
InternalScopedString s;
|
||||
for (tag_t *row = beg_row; row < end_row; row += row_len) {
|
||||
s.append("%s", row == center_row_beg ? "=>" : " ");
|
||||
s.append("%p:", (void *)row);
|
||||
s.append("%p:", (void *)ShadowToMem(reinterpret_cast<uptr>(row)));
|
||||
for (uptr i = 0; i < row_len; i++) {
|
||||
s.append("%s", row + i == tag_ptr ? "[" : " ");
|
||||
print_tag(s, &row[i]);
|
||||
|
|
Loading…
Reference in New Issue