Lines Matching +defs:symbol +defs:function
706 const Symbol *symbol =
709 if (!symbol || !symbol->ValueIsAddress()) {
710 error = Status::FromErrorString("no symbol");
715 symbol->GetAddressRef().GetLoadAddress(&process->GetTarget());
717 error = Status::FromErrorString("symbol address invalid");
1235 // Try to get the ivar offset address from the symbol table first using the
1248 if (ivar_offset_symbol.symbol)
1250 ivar_offset_symbol.symbol->GetLoadAddress(&target);
1253 // If we didn't get the ivar offset address from the symbol table, fall
1563 const Symbol *symbol = objc_module_sp->FindFirstSymbolWithNameAndType(
1565 if (symbol) {
1567 symbol->GetLoadAddress(&process->GetTarget());
1594 const Symbol *symbol = objc_module_sp->FindFirstSymbolWithNameAndType(
1596 if (symbol) {
1598 symbol->GetLoadAddress(&process->GetTarget());
1619 const Symbol *symbol = objc_module_sp->FindFirstSymbolWithNameAndType(
1621 if (!symbol) {
1628 symbol->GetLoadAddress(&process->GetTarget());
1756 LLDB_LOG(log, "Creating utility function {0}", name);
1768 "Failed to get utility function for dynamic info extractor: {0}");
1778 // Make the runner function for our implementation utility function.
1807 "Failed to make function caller for implementation lookup: {0}.",
1896 LLDB_LOG(log, "Creating utility function {0}",
1904 // If the inferior objc.dylib has the class_getNameRaw function, use that in
1915 // Substitute in the correct class_getName / class_getNameRaw function name,
1933 "Failed to get utility function for shared class info extractor: {0}");
1946 // Next make the function caller for our implementation utility function.
1972 "Failed to make function caller for implementation lookup: {0}.",
2046 LLDB_LOGF(log, "Failed to get implementation lookup function caller.");
2098 // Fill in our function argument values
2121 // Write our function arguments into the process so we can run our function
2142 // Run the function
2165 LLDB_LOGF(log, "Error evaluating our find class name function.");
2171 LLDB_LOGF(log, "Error writing function arguments.");
2221 // hash to 0 to signal a demangled symbol. We use class_getName() in that
2248 if (const Symbol *symbol = m_objc_module_sp->FindFirstSymbolWithNameAndType(
2250 if (symbol->ValueIsAddress() || symbol->GetAddressRef().IsValid())
2314 LLDB_LOGF(log, "Failed to get implementation lookup function caller.");
2342 // Fill in our function argument values
2359 // Write our function arguments into the process so we can run our function
2380 // Run the function
2440 LLDB_LOGF(log, "Error evaluating our find class name function.");
2446 LLDB_LOGF(log, "Error writing function arguments.");
2737 std::function<void(ObjCISA)>(nullptr),
2738 std::function<bool(const char *, const char *)>(nullptr),
2739 std::function<bool(const char *, const char *)>(nullptr),
3329 std::function<lldb::addr_t(ConstString, ConstString)> get_symbol =
3337 if (sc.symbol)
3338 return sc.symbol->GetLoadAddress(&GetProcess()->GetTarget());
3347 if (!sc.symbol)
3350 lldb::addr_t addr = sc.symbol->GetLoadAddress(&GetProcess()->GetTarget());
3470 ConstString function;
3471 std::tie(module, function) = AppleObjCRuntime::GetExceptionThrowLocation();
3472 std::vector<ConstString> symbols = {function};