This should help us find these cases and act on them
llvm-svn: 227289
return bit_size;
}
}
+ else
+ {
+ static bool g_printed = false;
+ StreamString s;
+ s.Printf("warning: trying to determine the size of type ");
+ DumpTypeDescription(&s);
+ s.Printf("\n without a valid ExecutionContext. this is not reliable. please file a bug against LLDB.\nbacktrace:\n");
+ Host::Backtrace(s, 10);
+ if (!g_printed)
+ {
+ printf("%s\n", s.GetData());
+ g_printed = true;
+ }
+ }
// fallthrough
default:
const uint32_t bit_size = m_ast->getTypeSize (qual_type);