[all-commits] [llvm/llvm-project] eb0d8f: [libunwind] Fix return type of `DwarfFDECache::fin...

Alex Rønne Petersen via All-commits all-commits at lists.llvm.org
Tue Jul 22 15:03:41 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: eb0d8f9272f7c734cdaf31bc33a18e1619e021e4
      https://github.com/llvm/llvm-project/commit/eb0d8f9272f7c734cdaf31bc33a18e1619e021e4
  Author: Alex Rønne Petersen <alex at alexrp.com>
  Date:   2025-07-23 (Wed, 23 Jul 2025)

  Changed paths:
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  [libunwind] Fix return type of `DwarfFDECache::findFDE()` in definition (#146308)

Needed to resolve this compilation error on some systems:

lib/libunwind/src/UnwindCursor.hpp:153:38: error: return type of
out-of-line definition of 'libunwind::DwarfFDECache::findFDE' differs
from that in the declaration
    typename A::pint_t DwarfFDECache<A>::findFDE(pint_t mh, pint_t pc) {
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
lib/libunwind/src/libunwind.cpp:31:10: note: in file included from
lib/libunwind/src/libunwind.cpp:31:
    #include "UnwindCursor.hpp"
             ^
lib/libunwind/src/UnwindCursor.hpp:100:17: note: previous declaration is
here
      static pint_t findFDE(pint_t mh, pint_t pc);
             ~~~~~~~^



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list