projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3749f33
)
[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!
llvm-svn: 290388
llvm/tools/yaml2obj/yaml2dwarf.cpp
patch
|
blob
|
history
diff --git
a/llvm/tools/yaml2obj/yaml2dwarf.cpp
b/llvm/tools/yaml2obj/yaml2dwarf.cpp
index
283b0df
..
8ba1190
100644
(file)
--- a/
llvm/tools/yaml2obj/yaml2dwarf.cpp
+++ b/
llvm/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,