[ASan] Allow the users of SymbolizationLoop to make use of the --dsym_hint option...
authorAlexander Potapenko <glider@google.com>
Fri, 21 Nov 2014 14:12:00 +0000 (14:12 +0000)
committerAlexander Potapenko <glider@google.com>
Fri, 21 Nov 2014 14:12:00 +0000 (14:12 +0000)
commit7a0f81a9b721d14b5c9840ea7d104ed8bf5f870b
treef66fc9722b68618e6e0e342a8c7c0f8953ed8a7a
parentbcb55eec3ac4857f250947bd757689a4f390463f
[ASan] Allow the users of SymbolizationLoop to make use of the --dsym_hint option in llvm-symbolizer

Let the users of SymbolizationLoop define a function that produces the list of .dSYM hints (possible path to the .dSYM bundle) for the given binary.
Because the hints can't be added to an existing llvm-symbolizer process, we spawn a new symbolizer process ones each time a new hint appears.
Those can only appear for binaries that we haven't seen before.

llvm-svn: 222535
compiler-rt/lib/asan/scripts/asan_symbolize.py