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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to