[lldb] Fix DW_AT_decl_file from DW_AT_specification from a different CU
[lldb.git] / lldb / source / Plugins / SymbolFile / DWARF / DWARFDebugInfoEntry.cpp
index f6425a8..3eca911 100644 (file)
@@ -399,7 +399,7 @@ bool DWARFDebugInfoEntry::GetDIENamesAndRanges(
 // specification or abstract origin attributes and including those in the
 // results. Any duplicate attributes will have the first instance take
 // precedence (this can happen for declaration attributes).
-size_t DWARFDebugInfoEntry::GetAttributes(const DWARFUnit *cu,
+size_t DWARFDebugInfoEntry::GetAttributes(DWARFUnit *cu,
                                           DWARFAttributes &attributes,
                                           Recurse recurse,
                                           uint32_t curr_depth) const {