DebugInfo: Adapt to loss of DITypeRef in LLVM r267296
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 23 Apr 2016 21:08:27 +0000 (21:08 +0000)
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>
Sat, 23 Apr 2016 21:08:27 +0000 (21:08 +0000)
commit383f8413cf901c8ea026318b4f95ab00107fd38c
treece01f4128a4169db0dfec840c355d05f60e18b43
parenta59d3e5af889662139b8b08f2175f12567491441
DebugInfo: Adapt to loss of DITypeRef in LLVM r267296

LLVM stopped using MDString-based type references, and DIBuilder no
longer fills 'retainedTypes:' with every DICompositeType that has an
'identifier:' field.   There are just minor changes to keep the same
behaviour in CFE.

Leaving 'retainedTypes:' unfilled has a dramatic impact on the output
order of the IR though.  There are a huge number of testcase changes,
which were unfortunately not really scriptable.

llvm-svn: 267297
25 files changed:
clang/lib/CodeGen/CGDebugInfo.cpp
clang/test/CodeGen/debug-info-imported-entity.cpp
clang/test/CodeGenCXX/debug-info-access.cpp
clang/test/CodeGenCXX/debug-info-artificial-arg.cpp
clang/test/CodeGenCXX/debug-info-class.cpp
clang/test/CodeGenCXX/debug-info-cxx1y.cpp
clang/test/CodeGenCXX/debug-info-enum-class.cpp
clang/test/CodeGenCXX/debug-info-function-context.cpp
clang/test/CodeGenCXX/debug-info-indirect-field-decl.cpp
clang/test/CodeGenCXX/debug-info-method.cpp
clang/test/CodeGenCXX/debug-info-namespace.cpp
clang/test/CodeGenCXX/debug-info-static-member.cpp
clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
clang/test/CodeGenCXX/debug-info-template-limit.cpp
clang/test/CodeGenCXX/debug-info-template-member.cpp
clang/test/CodeGenCXX/debug-info-template-quals.cpp
clang/test/CodeGenCXX/debug-info-template.cpp
clang/test/CodeGenCXX/debug-info-varargs.cpp
clang/test/CodeGenCXX/debug-info.cpp
clang/test/CodeGenCXX/debug-lambda-expressions.cpp
clang/test/CodeGenCXX/debug-lambda-this.cpp
clang/test/CodeGenObjCXX/debug-info-block-capture-this.mm
clang/test/CodeGenObjCXX/debug-info-cyclic.mm
clang/test/Modules/ExtDebugInfo.cpp
clang/test/Modules/ModuleDebugInfo.cpp