llvm-project/lldb/test/Shell/SymbolFile/PDB
Amy Huang 1a3bf2953a [DebugInfo] Switch to using constructor homing (-debug-info-kind=constructor) by default when debug info is enabled
Constructor homing reduces the amount of class type info that is emitted
by emitting conmplete type info for a class only when a constructor for
that class is emitted.

This will mainly reduce the amount of duplicate debug info in object
files. In Chrome enabling ctor homing decreased total build directory sizes
by about 30%.

It's also expected that some class types (such as unused classes)
will no longer be emitted in the debug info. This is fine, since we wouldn't
expect to need these types when debugging.

In some cases (e.g. libc++, https://reviews.llvm.org/D98750), classes
are used without calling the constructor. Since this is technically
undefined behavior, enabling constructor homing should be fine.
However Clang now has an attribute
`__attribute__((standalone_debug))` that can be used on classes to
ignore ctor homing.

Bug: https://bugs.llvm.org/show_bug.cgi?id=46537

Differential Revision: https://reviews.llvm.org/D106084
2021-07-26 17:24:42 -07:00
..
Inputs [DebugInfo] Switch to using constructor homing (-debug-info-kind=constructor) by default when debug info is enabled 2021-07-26 17:24:42 -07:00
ast-restore.test [lldb][PDB] Constexpr static member values as AST literals 2020-06-25 11:27:16 +03:00
calling-conventions.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
class-layout.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
compilands.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
enums-layout.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
expressions.test [lldb/Test] Update expressions.test for non-zero exit code 2020-05-05 14:06:47 -07:00
func-symbols.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
function-level-linking.test [lldb/lit] Introduce %clang_host substitutions 2019-10-31 10:40:37 +01:00
function-nested-block.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
lit.local.cfg [lldb] Skip PDB and NativePDB tests with reproducers 2020-08-21 09:09:45 -07:00
pointers.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
type-quals.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
typedefs.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
udt-layout.test [lldb] Fix SymbolFile/PDB/udt-layout.test 2020-11-13 09:30:40 -08:00
variables-locations.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00
variables.test Re-land [Debug][CodeView] Emit fully qualified names for globals 2020-05-18 17:31:00 -07:00
vbases.test Re-land "[test] Split LLDB tests into API, Shell & Unit" 2019-10-09 19:22:02 +00:00