[LLVMbugs] [Bug 17063] New: [LSan RTL] LeakSanitizer's reports are less colorful than other sanitizers

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Sep 2 14:28:05 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=17063

            Bug ID: 17063
           Summary: [LSan RTL] LeakSanitizer's reports are less colorful
                    than other sanitizers
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: chandlerc at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

ASan and other tools have nice colorful output. LSAn doesn't. At the very least
it would be good to get some minimal colors here:

% ASAN_OPTIONS="detect_leaks=1" ./asan_bug                               
Hello World

=================================================================
==1086==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 12 byte(s) in 1 object(s) allocated from:
    #0 0x42c484 in operator new[](unsigned long)
/home/chandlerc/src/llvm.git/build/../projects/compiler-rt/lib/asan/asan_new_delete.cc:54
    #1 0x4400b5 in main
/home/chandlerc/src/llvm.git/build/gn_2013/asan/bug.cpp:18
    #2 0x2aaaab60c60c (/lib64/libc.so.6+0x2460c)

SUMMARY: LeakSanitizer: 12 byte(s) leaked in 1 allocation(s).

At the very least, the ERROR: line should be colorized the same in each
sanitizer (red). Also, the 'Direct leak' should probably be blue to match other
sanitizers.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20130902/0f9a451a/attachment.html>


More information about the llvm-bugs mailing list