diff --git a/extern/drgn b/extern/drgn index 5b2110c..9871f3e 160000 --- a/extern/drgn +++ b/extern/drgn @@ -1 +1 @@ -Subproject commit 5b2110c7c2a2a46c3cf3d79ea802929758692635 +Subproject commit 9871f3ec178bbe7c5331da7595de6f4f252b8a10 diff --git a/oi/SymbolService.cpp b/oi/SymbolService.cpp index d929b1b..4de6bb2 100644 --- a/oi/SymbolService.cpp +++ b/oi/SymbolService.cpp @@ -500,6 +500,7 @@ static void parseFormalParam(Dwarf_Die& param, VLOG(1) << "Adding function arg address: " << farg; } +/* static bool handleInlinedFunction(const irequest& request, std::shared_ptr funcDesc, struct drgn_qualified_type& funcType, @@ -577,6 +578,7 @@ static bool handleInlinedFunction(const irequest& request, module = inlinedInstance->_private.module; return true; } +*/ static std::optional> createFuncDesc( struct drgn_program* prog, const irequest& request) { @@ -603,9 +605,11 @@ static std::optional> createFuncDesc( } if (dwarf_func_inline(&funcDie) == 1) { - if (!handleInlinedFunction(request, fd, *ft, funcDie, module)) { - return std::nullopt; - } + // if (!handleInlinedFunction(request, fd, *ft, funcDie, module)) { + // return std::nullopt; + // } + LOG(ERROR) << "inlined functions are not supported"; + return std::nullopt; } ptrdiff_t offset = 0;