diff options
Diffstat (limited to 'src/readDwarf.cpp')
-rw-r--r-- | src/readDwarf.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/readDwarf.cpp b/src/readDwarf.cpp index e5895fc..be1952c 100644 --- a/src/readDwarf.cpp +++ b/src/readDwarf.cpp @@ -492,8 +492,12 @@ bool DIECursor::readNext(DWARF_InfoData& id, bool stopAtNull) break;
case DW_AT_lower_bound:
assert(a.type == Const || a.type == Ref || a.type == ExprLoc);
- if (a.type == Const) // TODO: other types not supported yet
+ if (a.type == Const)
+ {
+ // TODO: other types not supported yet
id.lower_bound = a.cons;
+ id.has_lower_bound = true;
+ }
break;
case DW_AT_containing_type: assert(a.type == Ref); id.containing_type = a.ref; break;
case DW_AT_specification: assert(a.type == Ref); id.specification = a.ref; break;
|