[Lldb-commits] [PATCH] change asan info msg to use debugger output stream instead of adding to module warning collection
jmolenda at apple.com
Mon Dec 8 17:24:28 PST 2014
When lldb loads a binary that was built -fsanitize=address, it prints an info message via the Module's warning printer; it looks like
warning: (x86_64h) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/lib/darwin/libclang_rt.asan_osx_dynamic.dylib AddressSanitizer debugger support is active. Memory error breakpoint has been installed and you can now use the 'memory history' command.
Instead, I think we should grab the debugger's output stream and print the message there without the warning/arch/module name. Like
AddressSanitizer debugger support is active. Memory error breakpoint has been installed and you can now use the 'memory history' command.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2961 bytes
Desc: not available
More information about the lldb-commits