diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-23 21:08:27 +0000 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2016-04-23 21:08:27 +0000 |
commit | 383f8413cf901c8ea026318b4f95ab00107fd38c (patch) | |
tree | ce01f4128a4169db0dfec840c355d05f60e18b43 /clang/test/CodeGenCXX/debug-info-enum-class.cpp | |
parent | a59d3e5af889662139b8b08f2175f12567491441 (diff) | |
download | bcm5719-llvm-383f8413cf901c8ea026318b4f95ab00107fd38c.tar.gz bcm5719-llvm-383f8413cf901c8ea026318b4f95ab00107fd38c.zip |
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
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-enum-class.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/debug-info-enum-class.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-enum-class.cpp b/clang/test/CodeGenCXX/debug-info-enum-class.cpp index 70c57d6cb75..44daf412d3a 100644 --- a/clang/test/CodeGenCXX/debug-info-enum-class.cpp +++ b/clang/test/CodeGenCXX/debug-info-enum-class.cpp @@ -101,11 +101,11 @@ void f2(E) { void fz() { Z z; } namespace test5 { +// CHECK: [[TEST5:![0-9]+]] = !DINamespace(name: "test5" // CHECK: !DICompositeType(tag: DW_TAG_enumeration_type, name: "E" -// CHECK-SAME: scope: [[TEST5:![0-9]+]] +// CHECK-SAME: scope: [[TEST5]] // CHECK-SAME: flags: DIFlagFwdDecl // CHECK-SAME: identifier: "_ZTSN5test51EE" -// CHECK: [[TEST5]] = !DINamespace(name: "test5" enum E : int; void f1(E *) { } |