[PATCH] [RFC] Use llvm-symbolizer to symbolize LLVM/Clang crash dumps

Alexey Samsonov vonosmas at gmail.com
Fri Oct 3 17:43:53 PDT 2014


FWIW, it's possible to use LLVMSymbolizer in process - you can just instantiate an LLVMSymbolizer class (defined in tools/llvm-symbolizer/LLVMSymbolize.h), and issue a necessary queries. It just hasn't been moved to DebugInfo library (which is probably worth doing). My main reason for using out-of-process communication here was dependency on Object/DebugInfo libraries, which we don't want to enforce.

Thanks for the review!
I will submit this patch early next week and proceed with refactorings outlined in 1-2.

http://reviews.llvm.org/D5610






More information about the llvm-commits mailing list