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

Eric Christopher via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 28 10:17:27 PDT 2015


Hmm? What's the motivation here?

-eric

On Thu, Aug 27, 2015 at 11:40 PM Amjad Aboud via llvm-commits <
llvm-commits at lists.llvm.org> wrote:

> 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
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150828/2365649a/attachment.html>


More information about the llvm-commits mailing list