Lines Matching refs:location

26 bool GetAbortLocation(llvm::Triple::OSType os, SymbolLocation &location) {  in GetAbortLocation()  argument
30 location.module_spec = FileSpec("libsystem_kernel.dylib"); in GetAbortLocation()
31 location.symbols.push_back(ConstString("__pthread_kill")); in GetAbortLocation()
34 location.module_spec = FileSpec("libc.so.6"); in GetAbortLocation()
35 location.symbols.push_back(ConstString("raise")); in GetAbortLocation()
36 location.symbols.push_back(ConstString("__GI_raise")); in GetAbortLocation()
37 location.symbols.push_back(ConstString("gsignal")); in GetAbortLocation()
38 location.symbols.push_back(ConstString("pthread_kill")); in GetAbortLocation()
39 location.symbols_are_regex = true; in GetAbortLocation()
59 bool GetAssertLocation(llvm::Triple::OSType os, SymbolLocation &location) { in GetAssertLocation() argument
63 location.module_spec = FileSpec("libsystem_c.dylib"); in GetAssertLocation()
64 location.symbols.push_back(ConstString("__assert_rtn")); in GetAssertLocation()
67 location.module_spec = FileSpec("libc.so.6"); in GetAssertLocation()
68 location.symbols.push_back(ConstString("__assert_fail")); in GetAssertLocation()
69 location.symbols.push_back(ConstString("__GI___assert_fail")); in GetAssertLocation()
83 SymbolLocation location; in RegisterAssertFrameRecognizer() local
85 if (!GetAbortLocation(os, location)) in RegisterAssertFrameRecognizer()
88 if (!location.symbols_are_regex) { in RegisterAssertFrameRecognizer()
91 location.module_spec.GetFilename(), location.symbols, in RegisterAssertFrameRecognizer()
96 for (char c : location.module_spec.GetFilename().GetStringRef()) { in RegisterAssertFrameRecognizer()
103 for (auto it = location.symbols.cbegin(); it != location.symbols.cend(); in RegisterAssertFrameRecognizer()
105 if (it != location.symbols.cbegin()) in RegisterAssertFrameRecognizer()
126 SymbolLocation location; in RecognizeFrame() local
128 if (!GetAssertLocation(os, location)) in RecognizeFrame()
150 !sym_ctx.module_sp->GetFileSpec().FileEquals(location.module_spec)) in RecognizeFrame()
155 if (llvm::is_contained(location.symbols, func_name)) { in RecognizeFrame()