Lines Matching defs:Symbolizer
47 class Symbolizer(object):
67 class LLVMSymbolizer(Symbolizer):
96 """Overrides Symbolizer.symbolize."""
128 # Assume llvm-symbolizer is in PATH.
129 symbolizer_path = 'llvm-symbolizer'
133 class Addr2LineSymbolizer(Symbolizer):
154 """Overrides Symbolizer.symbolize."""
208 class DarwinSymbolizer(Symbolizer):
222 """Overrides Symbolizer.symbolize."""
242 # Chain several symbolizers so that if one symbolizer fails, we fall back
243 # to the next symbolizer in chain.
244 class ChainSymbolizer(Symbolizer):
250 """Overrides Symbolizer.symbolize."""
251 for symbolizer in self.symbolizer_list:
252 if symbolizer:
253 result = symbolizer.symbolize(addr, binary, offset)
258 def append_symbolizer(self, symbolizer):
259 self.symbolizer_list.append(symbolizer)
278 class BreakpadSymbolizer(Symbolizer):
374 # a single symbolizer binary.
382 # 3. otherwise create a new symbolizer and pass all currently known
397 # Breakpad symbolizer -> LLVM symbolizer -> addr2line/atos
398 # (fall back to next symbolizer if the previous one fails).
405 raise Exception('Failed to launch or use llvm-symbolizer.')
406 # Initialize system symbolizer only if other symbolizers failed.
410 # The system symbolizer must produce some result.