OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93b713b
)
Add missing file from r313884.
author
Benjamin Kramer
<benny.kra@googlemail.com>
Thu, 21 Sep 2017 15:32:05 +0000
(15:32 +0000)
committer
Benjamin 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
patch
|
blob
|
history
diff --git
a/tools/obj2yaml/dwarf2yaml.cpp
b/tools/obj2yaml/dwarf2yaml.cpp
index
9a9dcd8
..
91cec8b
100644
(file)
--- a/
tools/obj2yaml/dwarf2yaml.cpp
+++ b/
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);