[llvm] r313885 - Add missing file from r313884.
Benjamin Kramer via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 21 08:32:05 PDT 2017
Author: d0k
Date: Thu Sep 21 08:32:05 2017
New Revision: 313885
URL: http://llvm.org/viewvc/llvm-project?rev=313885&view=rev
Log:
Add missing file from r313884.
Modified:
llvm/trunk/tools/obj2yaml/dwarf2yaml.cpp
Modified: llvm/trunk/tools/obj2yaml/dwarf2yaml.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/obj2yaml/dwarf2yaml.cpp?rev=313885&r1=313884&r2=313885&view=diff
==============================================================================
--- llvm/trunk/tools/obj2yaml/dwarf2yaml.cpp (original)
+++ llvm/trunk/tools/obj2yaml/dwarf2yaml.cpp Thu Sep 21 08:32:05 2017
@@ -39,7 +39,7 @@ void dumpDebugAbbrev(DWARFContext &DCtx,
AttAbrv.Attribute = Attribute.Attr;
AttAbrv.Form = Attribute.Form;
if (AttAbrv.Form == dwarf::DW_FORM_implicit_const)
- AttAbrv.Value = *Attribute.ByteSizeOrValue;
+ AttAbrv.Value = Attribute.getImplicitConstValue();
Abbrv.Attributes.push_back(AttAbrv);
}
Y.AbbrevDecls.push_back(Abbrv);
More information about the llvm-commits
mailing list