HomePhabricator

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

Authored by rprichard on Sep 9 2020, 3:43 PM.

Description

[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

Details

Committed
rprichardSep 9 2020, 3:43 PM
Reviewer
Restricted Project
Differential Revision
D86748: [libunwind] Bare-metal DWARF: set dso_base to 0
Parents
rGc259d3a061c8: [AMDGPU] Fix for folding v2.16 literals.
Branches
Unknown
Tags
Unknown