[PATCH] D29310: Fix DwarfDebug assertions with LTO mixing -g and -gmlt

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 30 15:23:18 PST 2017


probinson created this revision.
Herald added a subscriber: mehdi_amini.

When LTO inlines functions compiled with -g into functions compiled 
-gmlt, certain assumptions don't hold any more.

Fixes PR31437.


https://reviews.llvm.org/D29310

Files:
  lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  lib/CodeGen/AsmPrinter/DwarfDebug.h
  test/DebugInfo/X86/dbg-abstract-vars-g-gmlt.ll
  test/DebugInfo/X86/dbg-value-g-gmlt.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29310.86356.patch
Type: text/x-patch
Size: 16448 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170130/22832a27/attachment.bin>


More information about the llvm-commits mailing list