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/ExtDebugInfo.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/ExtDebugInfo.cpp')
| -rw-r--r-- | clang/test/Modules/ExtDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Modules/ExtDebugInfo.cpp b/clang/test/Modules/ExtDebugInfo.cpp index 592612b9a5d..5d2921cd995 100644 --- a/clang/test/Modules/ExtDebugInfo.cpp +++ b/clang/test/Modules/ExtDebugInfo.cpp @@ -214,7 +214,7 @@ void foo() { // CHECK-PCH: dwoId: 18446744073709551614 // CHECK: !DICompositeType(tag: DW_TAG_class_type, name: "A", -// CHECK-SAME: DIFlagFwdDecl, identifier: "_ZTS1A") +// CHECK-SAME: DIFlagFwdDecl) // There is a full definition of the type available in the module. // CHECK: !DICompositeType(tag: DW_TAG_structure_type, name: "Virtual", |

