[PATCH] Fixed debug info generation for function static variables, typedef, and records

Amjad Aboud amjad.aboud at intel.com
Thu May 28 06:03:02 PDT 2015


Applied changes according to David Blaikie commits.
Lexical Block DIE are created as before (no change to the order).
However, global variables and retained types are now handled similar to imported entities and captured in a map indexed by their lexical scope context.
Later, this map will be used to add these entries to the lexical block DIE once it is created.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9758

Files:
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.h
  test/DebugInfo/LB-class.ll
  test/DebugInfo/LB-static.ll
  test/DebugInfo/LB-typedef.ll
  test/DebugInfo/useless_lexical_scope.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9758.26676.patch
Type: text/x-patch
Size: 30277 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150528/58c8027e/attachment.bin>


More information about the llvm-commits mailing list