summaryrefslogtreecommitdiffstats
path: root/src/readDwarf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/readDwarf.cpp')
-rw-r--r--src/readDwarf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/readDwarf.cpp b/src/readDwarf.cpp
index 2184038..f0890bb 100644
--- a/src/readDwarf.cpp
+++ b/src/readDwarf.cpp
@@ -43,7 +43,7 @@ Location decodeLocation(const DWARF_Attribute& attr, const Location* frameBase)
if (attr.type == Const)
return mkAbs(attr.cons);
- if (attr.type != ExprLoc)
+ if (attr.type != ExprLoc && attr.type != Block) // same memory layout
return invalid;
byte* p = attr.expr.ptr;