[Lldb-commits] [PATCH] D22756: Fix incorrect form test in SymbolFileDWARF
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Tue Jul 26 01:23:50 PDT 2016
This revision was automatically updated to reflect the committed changes.
Closed by commit rL276735: Fix incorrect form test in SymbolFileDWARF (authored by labath).
Changed prior to commit:
https://reviews.llvm.org/D22756?vs=65340&id=65479#toc
Repository:
rL LLVM
https://reviews.llvm.org/D22756
Files:
lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
Index: lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/SymbolFileDWARF.cpp
@@ -4292,7 +4292,7 @@
{
location_is_const_value_data = false;
has_explicit_location = true;
- if (form_value.BlockData())
+ if (DWARFFormValue::IsBlockForm(form_value.Form()))
{
const DWARFDataExtractor& debug_info_data = get_debug_info_data();
Index: lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/DWARF/DWARFFormValue.cpp
@@ -556,6 +556,7 @@
{
switch (form)
{
+ case DW_FORM_exprloc:
case DW_FORM_block:
case DW_FORM_block1:
case DW_FORM_block2:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D22756.65479.patch
Type: text/x-patch
Size: 1140 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160726/f0f6d4bd/attachment.bin>
More information about the lldb-commits
mailing list