OSDN Git Service

Add missing file from r313884.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 21 Sep 2017 15:32:05 +0000 (15:32 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 21 Sep 2017 15:32:05 +0000 (15:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@313885 91177308-0d34-0410-b5e6-96231b3b80d8

tools/obj2yaml/dwarf2yaml.cpp

index 9a9dcd8..91cec8b 100644 (file)
@@ -39,7 +39,7 @@ void dumpDebugAbbrev(DWARFContext &DCtx, DWARFYAML::Data &Y) {
           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);