mirror of
https://github.com/intel/llvm.git
synced 2026-01-15 20:54:40 +08:00
Add some more tests for breakpoint serialization.
Serialize breakpoint names & the hardware_requested attributes. Also added a few missing affordances to SBBreakpoint whose absence writing the tests pointed out. <rdar://problem/12611863> llvm-svn: 282036
This commit is contained in:
@@ -75,6 +75,12 @@ void SBStringList::AppendList(const SBStringList &strings) {
|
||||
}
|
||||
}
|
||||
|
||||
void SBStringList::AppendList(const StringList &strings) {
|
||||
if (!IsValid())
|
||||
m_opaque_ap.reset(new lldb_private::StringList());
|
||||
m_opaque_ap->AppendList(strings);
|
||||
}
|
||||
|
||||
uint32_t SBStringList::GetSize() const {
|
||||
if (IsValid()) {
|
||||
return m_opaque_ap->GetSize();
|
||||
|
||||
Reference in New Issue
Block a user