Home
last modified time | relevance | path

Searched refs:Symbolizer (Results 1 – 25 of 96) sorted by relevance

1234

/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer.cpp79 Symbolizer *Symbolizer::symbolizer_;
80 StaticSpinMutex Symbolizer::init_mu_;
81 LowLevelAllocator Symbolizer::symbolizer_allocator_;
83 void Symbolizer::InvalidateModuleList() { in InvalidateModuleList()
87 void Symbolizer::AddHooks(Symbolizer::StartSymbolizationHook start_hook, in AddHooks()
88 Symbolizer::EndSymbolizationHook end_hook) { in AddHooks()
94 const char *Symbolizer::ModuleNameOwner::GetOwnedCopy(const char *str) { in GetOwnedCopy()
114 Symbolizer::Symbolizer(IntrusiveList<SymbolizerTool> tools) in Symbolizer() function in __sanitizer::Symbolizer
118 Symbolizer::SymbolizerScope::SymbolizerScope(const Symbolizer *sym) in SymbolizerScope()
124 Symbolizer::SymbolizerScope::~SymbolizerScope() { in ~SymbolizerScope()
[all …]
Dsanitizer_symbolizer_markup.cpp41 const char *Symbolizer::Demangle(const char *name) { in Demangle()
52 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC()
65 SymbolizedStack *Symbolizer::SymbolizePC(uptr addr) { in SymbolizePC()
74 bool Symbolizer::SymbolizeData(uptr addr, DataInfo *info) { in SymbolizeData()
96 Symbolizer *Symbolizer::PlatformInit() { in PlatformInit()
97 return new (symbolizer_allocator_) Symbolizer({}); in PlatformInit()
100 void Symbolizer::LateInitialize() { in LateInitialize()
101 Symbolizer::GetOrInit()->LateInitializeTools(); in LateInitialize()
Dsanitizer_symbolizer.h109 class Symbolizer final {
113 static Symbolizer *GetOrInit();
176 static Symbolizer *PlatformInit();
189 static Symbolizer *symbolizer_;
199 explicit Symbolizer(IntrusiveList<SymbolizerTool> tools);
207 explicit SymbolizerScope(const Symbolizer *sym);
210 const Symbolizer *sym_;
Dsanitizer_symbolizer_libcdep.cpp20 Symbolizer *Symbolizer::GetOrInit() { in GetOrInit()
85 SymbolizedStack *Symbolizer::SymbolizePC(uptr addr) { in SymbolizePC()
105 bool Symbolizer::SymbolizeData(uptr addr, DataInfo *info) { in SymbolizeData()
126 bool Symbolizer::SymbolizeFrame(uptr addr, FrameInfo *info) { in SymbolizeFrame()
142 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC()
156 void Symbolizer::Flush() { in Flush()
164 const char *Symbolizer::Demangle(const char *name) { in Demangle()
174 bool Symbolizer::FindModuleNameAndOffsetForAddress(uptr address, in FindModuleNameAndOffsetForAddress()
187 void Symbolizer::RefreshModules() { in RefreshModules()
204 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
Dsanitizer_symbolizer_win.cpp177 const char *Symbolizer::PlatformDemangle(const char *name) { in PlatformDemangle()
304 Symbolizer *Symbolizer::PlatformInit() { in PlatformInit()
309 return new(symbolizer_allocator_) Symbolizer(list); in PlatformInit()
312 void Symbolizer::LateInitialize() { in LateInitialize()
313 Symbolizer::GetOrInit()->LateInitializeTools(); in LateInitialize()
Dsanitizer_stacktrace_libcdep.cpp37 frames = Symbolizer::GetOrInit()->SymbolizePC(pc); in Print()
96 bool ok = Symbolizer::GetOrInit()->GetModuleNameAndOffsetForPC( in GetModuleAndOffsetForPc()
120 frame = Symbolizer::GetOrInit()->SymbolizePC(pc); in __sanitizer_symbolize_pc()
158 if (!Symbolizer::GetOrInit()->SymbolizeData(data_addr, &DI)) return; in __sanitizer_symbolize_global()
Dsanitizer_symbolizer_posix_libcdep.cpp397 const char *Symbolizer::PlatformDemangle(const char *name) { in PlatformDemangle()
478 Symbolizer *Symbolizer::PlatformInit() { in PlatformInit()
482 return new(symbolizer_allocator_) Symbolizer(list); in PlatformInit()
485 void Symbolizer::LateInitialize() { in LateInitialize()
486 Symbolizer::GetOrInit()->LateInitializeTools(); in LateInitialize()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_symbolizer.cc68 Symbolizer *Symbolizer::symbolizer_;
69 StaticSpinMutex Symbolizer::init_mu_;
70 LowLevelAllocator Symbolizer::symbolizer_allocator_;
72 void Symbolizer::AddHooks(Symbolizer::StartSymbolizationHook start_hook, in AddHooks()
73 Symbolizer::EndSymbolizationHook end_hook) { in AddHooks()
79 const char *Symbolizer::ModuleNameOwner::GetOwnedCopy(const char *str) { in GetOwnedCopy()
99 Symbolizer::Symbolizer(IntrusiveList<SymbolizerTool> tools) in Symbolizer() function in __sanitizer::Symbolizer
103 Symbolizer::SymbolizerScope::SymbolizerScope(const Symbolizer *sym) in SymbolizerScope()
109 Symbolizer::SymbolizerScope::~SymbolizerScope() { in ~SymbolizerScope()
Dsanitizer_symbolizer.h80 class Symbolizer final {
84 static Symbolizer *GetOrInit();
143 static Symbolizer *PlatformInit();
155 static Symbolizer *symbolizer_;
165 explicit Symbolizer(IntrusiveList<SymbolizerTool> tools);
173 explicit SymbolizerScope(const Symbolizer *sym);
176 const Symbolizer *sym_;
Dsanitizer_symbolizer_libcdep.cc63 SymbolizedStack *Symbolizer::SymbolizePC(uptr addr) { in SymbolizePC()
81 bool Symbolizer::SymbolizeData(uptr addr, DataInfo *info) { in SymbolizeData()
99 bool Symbolizer::GetModuleNameAndOffsetForPC(uptr pc, const char **module_name, in GetModuleNameAndOffsetForPC()
112 void Symbolizer::Flush() { in Flush()
120 const char *Symbolizer::Demangle(const char *name) { in Demangle()
130 void Symbolizer::PrepareForSandboxing() { in PrepareForSandboxing()
135 bool Symbolizer::FindModuleNameAndOffsetForAddress(uptr address, in FindModuleNameAndOffsetForAddress()
146 const LoadedModule *Symbolizer::FindModuleForAddress(uptr address) { in FindModuleForAddress()
170 Symbolizer *Symbolizer::GetOrInit() { in GetOrInit()
Dsanitizer_symbolizer_win.cc143 const char *Symbolizer::PlatformDemangle(const char *name) { in PlatformDemangle()
147 void Symbolizer::PlatformPrepareForSandboxing() { in PlatformPrepareForSandboxing()
274 Symbolizer *Symbolizer::PlatformInit() { in PlatformInit()
279 return new(symbolizer_allocator_) Symbolizer(list); in PlatformInit()
282 void Symbolizer::LateInitialize() { in LateInitialize()
283 Symbolizer::GetOrInit(); in LateInitialize()
Dsanitizer_symbolizer_posix_libcdep.cc406 const char *Symbolizer::PlatformDemangle(const char *name) { in PlatformDemangle()
410 void Symbolizer::PlatformPrepareForSandboxing() {} in PlatformPrepareForSandboxing()
487 Symbolizer *Symbolizer::PlatformInit() { in PlatformInit()
491 return new(symbolizer_allocator_) Symbolizer(list); in PlatformInit()
494 void Symbolizer::LateInitialize() { in LateInitialize()
495 Symbolizer::GetOrInit(); in LateInitialize()
/external/llvm/lib/MC/MCDisassembler/
DMCDisassembler.cpp24 if (Symbolizer) in tryAddingSymbolicOperand()
25 return Symbolizer->tryAddingSymbolicOperand(Inst, cStream, Value, Address, in tryAddingSymbolicOperand()
33 if (Symbolizer) in tryAddingPcLoadReferenceComment()
34 Symbolizer->tryAddingPcLoadReferenceComment(cStream, Value, Address); in tryAddingPcLoadReferenceComment()
38 Symbolizer = std::move(Symzer); in setSymbolizer()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/MCDisassembler/
DMCDisassembler.cpp31 if (Symbolizer) in tryAddingSymbolicOperand()
32 return Symbolizer->tryAddingSymbolicOperand( in tryAddingSymbolicOperand()
39 if (Symbolizer) in tryAddingPcLoadReferenceComment()
40 Symbolizer->tryAddingPcLoadReferenceComment(*CommentStream, Value, Address); in tryAddingPcLoadReferenceComment()
44 Symbolizer = std::move(Symzer); in setSymbolizer()
/external/llvm-project/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_symbolizer_test.cpp19 TEST(Symbolizer, ExtractToken) { in TEST() argument
34 TEST(Symbolizer, ExtractInt) { in TEST() argument
41 TEST(Symbolizer, ExtractUptr) { in TEST() argument
48 TEST(Symbolizer, ExtractTokenUpToDelimiter) { in TEST() argument
58 TEST(Symbolizer, DemangleSwiftAndCXX) { in TEST() argument
/external/compiler-rt/lib/sanitizer_common/tests/
Dsanitizer_symbolizer_test.cc20 TEST(Symbolizer, ExtractToken) { in TEST() argument
35 TEST(Symbolizer, ExtractInt) { in TEST() argument
42 TEST(Symbolizer, ExtractUptr) { in TEST() argument
49 TEST(Symbolizer, ExtractTokenUpToDelimiter) { in TEST() argument
59 TEST(Symbolizer, DemangleSwiftAndCXX) { in TEST() argument
/external/llvm-project/llvm/tools/llvm-xray/
Dfunc-id-helper.h29 symbolize::LLVMSymbolizer &Symbolizer; variable
35 symbolize::LLVMSymbolizer &Symbolizer, in FuncIdConversionHelper() argument
37 : BinaryInstrMap(std::move(BinaryInstrMap)), Symbolizer(Symbolizer), in FuncIdConversionHelper()
/external/llvm-project/llvm/lib/MC/MCDisassembler/
DMCDisassembler.cpp30 if (Symbolizer) in tryAddingSymbolicOperand()
31 return Symbolizer->tryAddingSymbolicOperand( in tryAddingSymbolicOperand()
38 if (Symbolizer) in tryAddingPcLoadReferenceComment()
39 Symbolizer->tryAddingPcLoadReferenceComment(*CommentStream, Value, Address); in tryAddingPcLoadReferenceComment()
43 Symbolizer = std::move(Symzer); in setSymbolizer()
/external/llvm-project/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp139 StringRef InputString, LLVMSymbolizer &Symbolizer, in symbolizeInput() argument
158 auto ResOrErr = Symbolizer.symbolizeData( in symbolizeInput()
162 auto ResOrErr = Symbolizer.symbolizeFrame( in symbolizeInput()
171 auto ResOrErr = Symbolizer.symbolizeInlinedCode( in symbolizeInput()
181 auto ResOrErr = Symbolizer.symbolizeInlinedCode( in symbolizeInput()
185 auto ResOrErr = Symbolizer.symbolizeCode( in symbolizeInput()
318 LLVMSymbolizer Symbolizer(Opts); in main() local
336 StrippedInputString, Symbolizer, Printer); in main()
342 Symbolizer, Printer); in main()
/external/compiler-rt/lib/tsan/rtl/
Dtsan_symbolize.cc66 return Symbolizer::GetOrInit()->SymbolizePC(addr); in SymbolizeCode()
71 if (!Symbolizer::GetOrInit()->SymbolizeData(addr, &info)) in SymbolizeData()
79 Symbolizer::GetOrInit()->Flush(); in SymbolizeFlush()
/external/perfetto/src/profiling/symbolizer/
Dsymbolizer.cc22 Symbolizer::~Symbolizer() = default;
Dsymbolizer.h33 class Symbolizer {
45 virtual ~Symbolizer();
/external/llvm/tools/llvm-symbolizer/
Dllvm-symbolizer.cpp161 LLVMSymbolizer Symbolizer(Opts); in main() local
189 auto ResOrErr = Symbolizer.symbolizeData(ModuleName, ModuleOffset); in main()
192 auto ResOrErr = Symbolizer.symbolizeInlinedCode(ModuleName, ModuleOffset); in main()
196 auto ResOrErr = Symbolizer.symbolizeCode(ModuleName, ModuleOffset); in main()
/external/llvm-project/compiler-rt/lib/tsan/rtl/
Dtsan_symbolize.cpp106 return Symbolizer::GetOrInit()->SymbolizePC(addr); in SymbolizeCode()
111 if (!Symbolizer::GetOrInit()->SymbolizeData(addr, &info)) in SymbolizeData()
119 Symbolizer::GetOrInit()->Flush(); in SymbolizeFlush()
/external/llvm/include/llvm/MC/MCDisassembler/
DMCDisassembler.h57 : Ctx(Ctx), STI(STI), Symbolizer(), CommentStream(nullptr) {} in MCDisassembler()
87 std::unique_ptr<MCSymbolizer> Symbolizer; variable

1234