[PATCH] D12426: Omitting debug info function entry for functions that has no code.

Amjad Aboud via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 27 23:39:52 PDT 2015


aaboud created this revision.
aaboud added a reviewer: dblaikie.
aaboud added a subscriber: llvm-commits.
aaboud set the repository for this revision to rL LLVM.

Stopped emitting function debug info if that function has no code (or alternatively, has no code associated with debug info).
Modified few LIT tests due to this change.

This patch is needed for "D11180" and should be committed first.

Repository:
  rL LLVM

http://reviews.llvm.org/D12426

Files:
  lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  test/DebugInfo/X86/dbg-file-name.ll
  test/DebugInfo/X86/debug-dead-local-var.ll
  test/DebugInfo/cross-cu-linkonce-distinct.ll
  test/DebugInfo/nodebug.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12426.33397.patch
Type: text/x-patch
Size: 4763 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150828/41dc693e/attachment.bin>


More information about the llvm-commits mailing list