[all-commits] [llvm/llvm-project] 09d492: [libunwind] Bare-metal DWARF: set dso_base to 0

Ryan Prichard via All-commits all-commits at lists.llvm.org
Wed Sep 9 15:44:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 09d492902f178f60b3ab986360eadde9b5c8d359
      https://github.com/llvm/llvm-project/commit/09d492902f178f60b3ab986360eadde9b5c8d359
  Author: Ryan Prichard <rprichard at google.com>
  Date:   2020-09-09 (Wed, 09 Sep 2020)

  Changed paths:
    M libunwind/src/AddressSpace.hpp
    M libunwind/src/UnwindCursor.hpp

  Log Message:
  -----------
  [libunwind] Bare-metal DWARF: set dso_base to 0

Previously, DwarfFDECache::findFDE used 0 as a special value meaning
"search the entire cache, including dynamically-registered FDEs".
Switch this special value to -1, which doesn't make sense as a DSO
base.

Fixes PR47335.

Reviewed By: compnerd, #libunwind

Differential Revision: https://reviews.llvm.org/D86748




More information about the All-commits mailing list