mirror of
https://github.com/intel/llvm.git
synced 2026-01-17 06:40:01 +08:00
Fixed some const issues with args to some lldb_private::Target functions.
llvm-svn: 134826
This commit is contained in:
@@ -239,13 +239,13 @@ public:
|
||||
|
||||
// Use this to create a function breakpoint by regexp in containingModule, or all modules if it is NULL
|
||||
lldb::BreakpointSP
|
||||
CreateBreakpoint (FileSpec *containingModule,
|
||||
CreateBreakpoint (const FileSpec *containingModule,
|
||||
RegularExpression &func_regexp,
|
||||
bool internal = false);
|
||||
|
||||
// Use this to create a function breakpoint by name in containingModule, or all modules if it is NULL
|
||||
lldb::BreakpointSP
|
||||
CreateBreakpoint (FileSpec *containingModule,
|
||||
CreateBreakpoint (const FileSpec *containingModule,
|
||||
const char *func_name,
|
||||
uint32_t func_name_type_mask,
|
||||
bool internal = false);
|
||||
|
||||
@@ -213,7 +213,7 @@ Target::CreateBreakpoint (Address &addr, bool internal)
|
||||
}
|
||||
|
||||
BreakpointSP
|
||||
Target::CreateBreakpoint (FileSpec *containingModule, const char *func_name, uint32_t func_name_type_mask, bool internal)
|
||||
Target::CreateBreakpoint (const FileSpec *containingModule, const char *func_name, uint32_t func_name_type_mask, bool internal)
|
||||
{
|
||||
BreakpointSP bp_sp;
|
||||
if (func_name)
|
||||
@@ -247,7 +247,7 @@ Target::GetSearchFilterForModule (const FileSpec *containingModule)
|
||||
}
|
||||
|
||||
BreakpointSP
|
||||
Target::CreateBreakpoint (FileSpec *containingModule, RegularExpression &func_regex, bool internal)
|
||||
Target::CreateBreakpoint (const FileSpec *containingModule, RegularExpression &func_regex, bool internal)
|
||||
{
|
||||
SearchFilterSP filter_sp(GetSearchFilterForModule (containingModule));
|
||||
BreakpointResolverSP resolver_sp(new BreakpointResolverName (NULL, func_regex));
|
||||
|
||||
Reference in New Issue
Block a user