[llvm-branch-commits] [llvm-branch] r95789 - /llvm/branches/Apple/Hermes/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Devang Patel dpatel at apple.com
Wed Feb 10 11:05:06 PST 2010


Author: dpatel
Date: Wed Feb 10 13:05:05 2010
New Revision: 95789

URL: http://llvm.org/viewvc/llvm-project?rev=95789&view=rev
Log:
Merge 95646 from trunk.

Modified:
    llvm/branches/Apple/Hermes/lib/CodeGen/AsmPrinter/DwarfDebug.cpp

Modified: llvm/branches/Apple/Hermes/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Hermes/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=95789&r1=95788&r2=95789&view=diff

==============================================================================
--- llvm/branches/Apple/Hermes/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
+++ llvm/branches/Apple/Hermes/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Wed Feb 10 13:05:05 2010
@@ -1720,6 +1720,7 @@
     addObjectLabel(Block, 0, dwarf::DW_FORM_udata,
                    Asm->GetGlobalValueSymbol(DI_GV.getGlobal()));
     addBlock(VariableSpecDIE, dwarf::DW_AT_location, 0, Block);
+    addUInt(VariableDie, dwarf::DW_AT_declaration, dwarf::DW_FORM_flag, 1);
     ModuleCU->addDie(VariableSpecDIE);
   } else {
     DIEBlock *Block = new DIEBlock();





More information about the llvm-branch-commits mailing list