forked from OSchip/llvm-project
Stop the lldb_private::RegularExpression class from implicitly
constructing itself and causing unexpected things to happen in LLDB. llvm-svn: 134598
This commit is contained in:
parent
667be58220
commit
1d4313b261
|
@ -51,6 +51,7 @@ public:
|
|||
/// @param[in] flags
|
||||
/// Flags that are passed the the \c regcomp() function.
|
||||
//------------------------------------------------------------------
|
||||
explicit
|
||||
RegularExpression (const char* re, int flags = REG_EXTENDED);
|
||||
|
||||
//------------------------------------------------------------------
|
||||
|
|
|
@ -465,7 +465,7 @@ public:
|
|||
}
|
||||
else
|
||||
{
|
||||
matches = exe_ctx.target->GetImages().FindGlobalVariables (arg,
|
||||
matches = exe_ctx.target->GetImages().FindGlobalVariables (ConstString(arg),
|
||||
true,
|
||||
UINT32_MAX,
|
||||
global_var_list);
|
||||
|
|
|
@ -4428,7 +4428,7 @@ SymbolFileDWARF::SearchNamespace (const clang::NamespaceDecl *namespace_decl,
|
|||
|
||||
std::vector<NameToDIE::Info> die_info_array;
|
||||
|
||||
size_t num_matches = m_type_index.Find (name, die_info_array);
|
||||
size_t num_matches = m_type_index.Find (ConstString(name), die_info_array);
|
||||
|
||||
if (num_matches)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue