teak-llvm/lldb/packages/Python/lldbsuite/test/lang/cpp/gmodules-templates/main.cpp
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

10 lines
391 B
C++

#include "b.h"
int main(int argc, const char * argv[])
{
Module m;
// Test that the type Module which contains a field that is a
// template instantiation can be fully resolved.
return 0; //% self.assertTrue(self.frame().FindVariable('m').GetChildAtIndex(0).GetChildAtIndex(0).GetChildAtIndex(0).GetName() == 'buffer', 'find template specializations in imported modules')
}