Add the ability to limit "source regexp" breakpoints to a particular function

within a source file.

This isn't done, I need to make the name match smarter (right now it requires an
exact match which is annoying for methods of a class in a namespace.

Also, though we use it in tests all over the place, it doesn't look like we have
a test for Source Regexp breakpoints by themselves, I'll add that in a follow-on patch.

llvm-svn: 267834
This commit is contained in:
Jim Ingham
2016-04-28 01:40:57 +00:00
parent 8bdcd52251
commit 76bb8d6719
10 changed files with 118 additions and 34 deletions

View File

@@ -126,6 +126,16 @@ SBStringList::GetStringAtIndex (size_t idx)
return NULL;
}
const char *
SBStringList::GetStringAtIndex (size_t idx) const
{
if (IsValid())
{
return m_opaque_ap->GetStringAtIndex (idx);
}
return NULL;
}
void
SBStringList::Clear ()
{