summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
diff options
context:
space:
mode:
authorPavel Labath <pavel@labath.sk>2019-05-15 07:45:40 +0000
committerPavel Labath <pavel@labath.sk>2019-05-15 07:45:40 +0000
commit041f40e5daf35842f67ab40eaa1f29e99727b736 (patch)
tree497466f4ca68f6fa3db7ac202553eafaf15fc998 /lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
parent4c1d6ee83dd0bf1cc24d85612a017b70350d9118 (diff)
downloadbcm5719-llvm-041f40e5daf35842f67ab40eaa1f29e99727b736.tar.gz
bcm5719-llvm-041f40e5daf35842f67ab40eaa1f29e99727b736.zip
DWARF: s/CompileUnit/Unit/ in DWARFFormValue
The class has been converted to use DWARFUnit, but a number of uses of the words compile unit remained. This removes all such references Get/SetCompileUnit becomes Get/SetUnit, and m_cu becomes m_unit. llvm-svn: 360754
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
index 4aa5973dd62..4fd99f859e0 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFAttribute.cpp
@@ -35,7 +35,7 @@ void DWARFAttributes::Append(const DWARFUnit *cu, dw_offset_t attr_die_offset,
bool DWARFAttributes::ExtractFormValueAtIndex(
uint32_t i, DWARFFormValue &form_value) const {
const DWARFUnit *cu = CompileUnitAtIndex(i);
- form_value.SetCompileUnit(cu);
+ form_value.SetUnit(cu);
form_value.SetForm(FormAtIndex(i));
lldb::offset_t offset = DIEOffsetAtIndex(i);
return form_value.ExtractValue(cu->GetData(), &offset);
OpenPOWER on IntegriCloud