From 1abfe04d790f56aa85ed23214f47a85acca1e13d Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 28 Nov 2011 00:51:27 +0000 Subject: Fixed an issue in the DWARFLocationList::Dump() function where default arguments were quietly masked as the code changed (modified version of a path from Dawn). llvm-svn: 145216 --- lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp') diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp index 30a243ea652..ef53eb55121 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFLocationList.cpp @@ -34,7 +34,11 @@ DWARFLocationList::Dump(Stream &s, const DWARFCompileUnit* cu, const DataExtract s.PutCString("\n "); s.Indent(); - s.AddressRange(start_addr + base_addr, end_addr + base_addr, NULL, ": "); + s.AddressRange (start_addr + base_addr, + end_addr + base_addr, + cu->GetAddressByteSize(), + NULL, + ": "); uint32_t loc_length = debug_loc_data.GetU16(&offset); DataExtractor locationData(debug_loc_data, offset, loc_length); -- cgit v1.2.3