Module Debugging: Emit forward declarations for types that are defined in
authorAdrian Prantl <aprantl@apple.com>
Fri, 11 Sep 2015 17:23:08 +0000 (17:23 +0000)
committerAdrian Prantl <aprantl@apple.com>
Fri, 11 Sep 2015 17:23:08 +0000 (17:23 +0000)
commit5c8bd88a4c3ad31e64b5a7100c9fc1785f208031
tree5d62eb0d556c4f9893883ce52433ceb49568feda
parentca8441810f1e5510cfffb6e02a9e7ef33db27306
Module Debugging: Emit forward declarations for types that are defined in
clang modules, if -dwarf-ext-refs (DebugTypesExtRefs) is specified.

This reimplements r247369 in about a third of the amount of code.
Thanks to David Blaikie pointing this out in post-commit review!

llvm-svn: 247432
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDebugInfo.h
clang/test/Modules/ExtDebugInfo.cpp [new file with mode: 0644]
clang/test/Modules/ExtDebugInfo.m [new file with mode: 0644]