Recommit "[DWARF5][DebugInfo]: Added support for DebugInfo generation for auto return...
authorAwanish Pandey <Awanish.Pandey@amd.com>
Mon, 20 Jan 2020 09:34:20 +0000 (15:04 +0530)
committerSourabh Singh Tomar <SourabhSingh.Tomar@amd.com>
Mon, 20 Jan 2020 09:43:13 +0000 (15:13 +0530)
commit84c4c87e04a48628259e920780623f427a9fd9b1
treec83ff3406cc0e3295dc55957a0f4ed5ab8399457
parent547530cc6a82879c9f777d9c1035a8f0ebcb3cfe
Recommit "[DWARF5][DebugInfo]: Added support for DebugInfo generation for auto return type for C++ member functions."

Summary:
This was reverted in 328e0f3dcac52171b8cdedeaba22c98e7fbb75ea due to
chromium bot failure. This revision addresses that case.

Original commit message:
Summary:
    This patch will provide support for auto return type for the C++ member
    functions. Before this return type of the member function is deduced and
    stored in the DIE.
    This patch includes llvm side implementation of this feature.

    Patch by: Awanish Pandey <Awanish.Pandey@amd.com>

    Reviewers: dblaikie, aprantl, shafik, alok, SouraVX, jini.susan.george

    Reviewed by: dblaikie

    Differential Revision: https://reviews.llvm.org/D70524
llvm/lib/CodeGen/AsmPrinter/DwarfUnit.cpp
llvm/test/DebugInfo/X86/debug-info-auto-return.ll [new file with mode: 0644]