Hi Vyukov, Thank you for the response. BTW, If I hope to enable the DEBUG(dbgs() << ... "\n") message, see below code example, and see the Asan instrumentation debug output during the compiling pass. What build option should I use? Also, I see there are some debug flags in the AddressSanitizer.cpp, e.g. ClDebugStack, ClDebugFunc. I'm quite interested in their usage. I'm enabling the Asan in my firmware and please let me know if there are some useful debug tips and methods to trace the Asan behavior. I'm OK if I need rebuild a new debug version LLVM/CLANG. I appreciate any suggestion.
http://llvm.org/svn/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/AddressSanitizer.cpp line 1321: DEBUG(dbgs() << "GLOBAL: " << *G << "\n"); line 1892: DEBUG(dbgs() << "ASAN instrumenting:\n" << F << "\n"); Thanks Steven Shi -- You received this message because you are subscribed to the Google Groups "address-sanitizer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
