[DynInst_API:] [dyninst/dyninst] d4eaec: Don't check for existing return type when parsing ...


Date: Tue, 05 Sep 2023 13:13:58 -0700
From: Tim Haines <noreply@xxxxxxxxxx>
Subject: [DynInst_API:] [dyninst/dyninst] d4eaec: Don't check for existing return type when parsing ...
  Branch: refs/heads/thaines/dwarfWalker_setFunctReturnType
  Home:   https://github.com/dyninst/dyninst
  Commit: d4eaec6be5bfaf09a7ac457b440938ab94a18de7
      https://github.com/dyninst/dyninst/commit/d4eaec6be5bfaf09a7ac457b440938ab94a18de7
  Author: Tim Haines <thaines.astro@xxxxxxxxx>
  Date:   2023-09-05 (Tue, 05 Sep 2023)

  Changed paths:
    M symtabAPI/src/dwarfWalker.C

  Log Message:
  -----------
  Don't check for existing return type when parsing DWARF subprogram

Since 8b400af5, functions are guaranteed to only be parsed once, so the
return type can never be set before the call here. Checking the return
type circularly invokes Symtab::parseTypesNow which deadlocks since
7f1e24d.


[← Prev in Thread] Current Thread [Next in Thread→]
  • [DynInst_API:] [dyninst/dyninst] d4eaec: Don't check for existing return type when parsing ..., Tim Haines <=