summaryrefslogtreecommitdiffstats
path: root/llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
diff options
context:
space:
mode:
authorPaul Robinson <paul.robinson@sony.com>2017-11-07 19:57:12 +0000
committerPaul Robinson <paul.robinson@sony.com>2017-11-07 19:57:12 +0000
commite5400f8a6e601729da4aa6706cda3db37a06bf13 (patch)
tree723757cd4c9d691e223b5f628c209d8862808085 /llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
parent5c65148565d9af773c51e20c219f494a5fc3cd3d (diff)
downloadbcm5719-llvm-e5400f8a6e601729da4aa6706cda3db37a06bf13.tar.gz
bcm5719-llvm-e5400f8a6e601729da4aa6706cda3db37a06bf13.zip
[DWARFv5] Support DW_FORM_strp in the .debug_line header.
Supporting this form in .debug_line.dwo will be done as a follow-up. Differential Revision: https://reviews.llvm.org/D33155 llvm-svn: 317607
Diffstat (limited to 'llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp b/llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
index a88dcfcf542..f593953c62f 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
@@ -184,7 +184,7 @@ Optional<DWARFFormValue> DWARFAbbreviationDeclaration::getAttributeValue(
FormValue.setSValue(Spec.getImplicitConstValue());
return FormValue;
}
- if (FormValue.extractValue(DebugInfoData, &Offset, &U))
+ if (FormValue.extractValue(DebugInfoData, &Offset, U.getFormParams(), &U))
return FormValue;
}
// March Offset along until we get to the attribute we want.
OpenPOWER on IntegriCloud