[hwasan] fix colored output
authorKostya Serebryany <kcc@google.com>
Wed, 5 Sep 2018 01:27:48 +0000 (01:27 +0000)
committerKostya Serebryany <kcc@google.com>
Wed, 5 Sep 2018 01:27:48 +0000 (01:27 +0000)
llvm-svn: 341440

compiler-rt/lib/hwasan/hwasan_report.cc

index bdc65fc..60eb5c1 100644 (file)
@@ -135,6 +135,7 @@ void PrintAddressDescription(uptr tagged_addr, uptr access_size) {
       Printf("%s", d.Location());
       Printf("Address %p is located in stack of thread T%zd\n", untagged_addr,
              t->unique_id());
+      Printf("%s", d.Default());
       t->Announce();
 
       num_descriptions_printed++;