Debug Info: Support variables that are described by more than one MMI
authorAdrian Prantl <aprantl@apple.com>
Tue, 10 Feb 2015 23:18:28 +0000 (23:18 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 10 Feb 2015 23:18:28 +0000 (23:18 +0000)
commit7b98f2d2a61b7acd3d04bc26c171000d50788e2d
treea3d7a1903b940c5eb320778ea0e6f36b3759ea9d
parent1e3e40b8c2a610d722ad5474b7027c5c2c86ac6a
Debug Info: Support variables that are described by more than one MMI
table entry. This happens when SROA splits up an alloca and the resulting
allocas cannot be lowered to SSA values because their address is passed
to a function.

Fixes PR22502.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228764 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.h
lib/CodeGen/AsmPrinter/DwarfFile.cpp
lib/CodeGen/AsmPrinter/DwarfFile.h