[PATCH] D18724: Fixed Dwarf debug info emission to skip DILexicalBlockFile entries

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 10 01:01:37 PDT 2016


aaboud updated this revision to Diff 53165.
aaboud added a comment.

Followed Adrian comment.
Introduced DILocalScope::getNonLexicalBlockFileScope() function and used it everywhere we look for the real basic block and want to skip the DILexicalBlockFile entries.


http://reviews.llvm.org/D18724

Files:
  include/llvm/IR/DebugInfoMetadata.h
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.h
  lib/CodeGen/LexicalScopes.cpp
  lib/IR/DebugInfoMetadata.cpp
  test/DebugInfo/X86/lexical-block-file-inline.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D18724.53165.patch
Type: text/x-patch
Size: 11008 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160410/ad175af6/attachment.bin>


More information about the llvm-commits mailing list