summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2017-09-21 15:32:05 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2017-09-21 15:32:05 +0000
commitc48461922e716ed067618585ab9da48c65624e2e (patch)
treea84ee5a8888a551d5cbb536058d419a69faf6a89 /llvm
parenteb14c1109f90d515c8b7dde9a807fc894c2ee66e (diff)
downloadbcm5719-llvm-c48461922e716ed067618585ab9da48c65624e2e.tar.gz
bcm5719-llvm-c48461922e716ed067618585ab9da48c65624e2e.zip
Add missing file from r313884.
llvm-svn: 313885
Diffstat (limited to 'llvm')
-rw-r--r--llvm/tools/obj2yaml/dwarf2yaml.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/obj2yaml/dwarf2yaml.cpp b/llvm/tools/obj2yaml/dwarf2yaml.cpp
index 9a9dcd86656..91cec8b7c6c 100644
--- a/llvm/tools/obj2yaml/dwarf2yaml.cpp
+++ b/llvm/tools/obj2yaml/dwarf2yaml.cpp
@@ -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);
OpenPOWER on IntegriCloud