[PATCH] D15976: Supporting all entities declared in lexical scope in LLVM debug info

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 2 14:41:53 PST 2016


aaboud removed rL LLVM as the repository for this revision.
aaboud updated this revision to Diff 46709.
aaboud marked an inline comment as done.
aaboud added a comment.

Modified code according to David comments.
Also, now code supports both solutions from the proposal, the one with DW_AT_abstract_origin on lexical blocks and the workaround solution.
The default is the workaround solution, as LLDB and older GDB debuggers will not provide information with the abstract-origin solution.

To enable the abstract-origin solution user can compile with "-use-abstract-origin-on-ls" flag.


http://reviews.llvm.org/D15976

Files:
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  lib/CodeGen/AsmPrinter/DwarfFile.cpp
  lib/CodeGen/AsmPrinter/DwarfFile.h
  lib/CodeGen/AsmPrinter/DwarfUnit.cpp
  lib/CodeGen/AsmPrinter/DwarfUnit.h
  test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll
  test/DebugInfo/Generic/2010-06-29-InlinedFnLocalVar.ll
  test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll
  test/DebugInfo/Generic/namespace.ll
  test/DebugInfo/Generic/nodebug.ll
  test/DebugInfo/Mips/InlinedFnLocalVar.ll
  test/DebugInfo/X86/InlinedFnLocalVar.ll
  test/DebugInfo/X86/PR24008.ll
  test/DebugInfo/X86/dbg-file-name.ll
  test/DebugInfo/X86/debug-dead-local-var.ll
  test/DebugInfo/X86/gnu-public-names.ll
  test/DebugInfo/X86/lexical-block-inline.ll
  test/DebugInfo/X86/lexical-block.ll
  test/DebugInfo/X86/subprogram-inline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15976.46709.patch
Type: text/x-patch
Size: 61864 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160202/516e2421/attachment.bin>


More information about the llvm-commits mailing list