teak-llvm/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/a.h
Adrian Prantl dce4a9aa59 Look for external types in all clang modules imported by the current symbol file.
This fixes a bug in -gmodules DWARF handling when debugging without a .dSYM bundle
that was particularly noticable when debugging LLVM itself.

Debugging without clang modules and DWO handling should be unaffected by this patch.

<rdar://problem/32436209>

llvm-svn: 321802
2018-01-04 16:42:05 +00:00

8 lines
128 B
C++

#include "memory.h"
class MemoryBuffer { int buffer = 42; };
struct SrcBuffer {
my_std::unique_ptr<MemoryBuffer> Buffer;
};