forked from OSchip/llvm-project
fix PR17061 (and pleeease, don't ask me for a test, this is just a minor output formatting issue :)
llvm-svn: 189783
This commit is contained in:
parent
8a00d0617c
commit
8d42228e47
|
@ -118,7 +118,7 @@ static void PrintShadowBytes(const char *before, u8 *bytes,
|
|||
for (uptr i = 0; i < n; i++) {
|
||||
u8 *p = bytes + i;
|
||||
const char *before = p == guilty ? "[" :
|
||||
p - 1 == guilty ? "" : " ";
|
||||
(p - 1 == guilty && i != 0) ? "" : " ";
|
||||
const char *after = p == guilty ? "]" : "";
|
||||
PrintShadowByte(before, *p, after);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue