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:
1a4f1d7
)
[ObjectYAML] Fixing a compiler warning
author
Chris Bieneman
<beanz@apple.com>
Thu, 22 Dec 2016 22:58:07 +0000
(22:58 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Thu, 22 Dec 2016 22:58:07 +0000
(22:58 +0000)
Accidentally re-defined the variable instead of setting it. Oops!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@290388
91177308
-0d34-0410-b5e6-
96231b3b80d8
tools/yaml2obj/yaml2dwarf.cpp
patch
|
blob
|
history
diff --git
a/tools/yaml2obj/yaml2dwarf.cpp
b/tools/yaml2obj/yaml2dwarf.cpp
index
283b0df
..
8ba1190
100644
(file)
--- a/
tools/yaml2obj/yaml2dwarf.cpp
+++ b/
tools/yaml2obj/yaml2dwarf.cpp
@@
-134,7
+134,7
@@
void yaml2debug_info(raw_ostream &OS, const DWARFYAML::Data &DI) {
++FormVal, ++AbbrForm) {
dwarf::Form Form = AbbrForm->Form;
do {
-
bool
Indirect = false;
+ Indirect = false;
switch (Form) {
case dwarf::DW_FORM_addr:
writeVariableSizedInteger(FormVal->Value, CU.AddrSize, OS,