diff options
author | David Blaikie <dblaikie@gmail.com> | 2019-04-25 20:05:47 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2019-04-25 20:05:47 +0000 |
commit | f0d66559ea345db4b2116cae044aaf3399d7e829 (patch) | |
tree | 7c7ad761257af5023d0de8af9608872faf084618 /clang/test/Modules/ModuleDebugInfo.cpp | |
parent | 3775794812e582769e2ed1b53c00650a6b21387c (diff) | |
download | bcm5719-llvm-f0d66559ea345db4b2116cae044aaf3399d7e829.tar.gz bcm5719-llvm-f0d66559ea345db4b2116cae044aaf3399d7e829.zip |
Skip type units/type uniquing when we know we're only emitting the type once (vtable-based emission when triggered by a strong vtable, with -fno-standalone-debug)
(this would regress size without a corresponding LLVM change that avoids
putting other user defined types inside type units when they aren't in
their own type units - instead emitting declarations inside the type
unit and a definition in the primary CU)
Reviewers: aprantl
Differential Revision: https://reviews.llvm.org/D61079
llvm-svn: 359235
Diffstat (limited to 'clang/test/Modules/ModuleDebugInfo.cpp')
-rw-r--r-- | clang/test/Modules/ModuleDebugInfo.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/Modules/ModuleDebugInfo.cpp b/clang/test/Modules/ModuleDebugInfo.cpp index 116aa5fc310..6fe546f7013 100644 --- a/clang/test/Modules/ModuleDebugInfo.cpp +++ b/clang/test/Modules/ModuleDebugInfo.cpp @@ -119,8 +119,7 @@ // CHECK: ![[A:.*]] = {{.*}}!DICompositeType(tag: DW_TAG_class_type, name: "A", // CHECK-SAME: elements: -// CHECK-SAME: vtableHolder: ![[A]], -// CHECK-SAME: identifier: "_ZTS1A") +// CHECK-SAME: vtableHolder: ![[A]]) // CHECK: ![[DERIVED:.*]] = {{.*}}!DICompositeType(tag: DW_TAG_class_type, name: "Derived", // CHECK-SAME: identifier: "_ZTS7Derived") |