diff options
| author | Jim Ingham <jingham@apple.com> | 2015-11-06 22:48:59 +0000 |
|---|---|---|
| committer | Jim Ingham <jingham@apple.com> | 2015-11-06 22:48:59 +0000 |
| commit | 0fcdac363cbff6c16cf205cc88e072e82bbf8975 (patch) | |
| tree | 1e90db3b67c17ae66fe0c205e47535fbcd2e431f /lldb/scripts/interface | |
| parent | 569aaf9e1a22df61f15ac7840fc8800f8c948de0 (diff) | |
| download | bcm5719-llvm-0fcdac363cbff6c16cf205cc88e072e82bbf8975.tar.gz bcm5719-llvm-0fcdac363cbff6c16cf205cc88e072e82bbf8975.zip | |
Make the language specifier to "break set" actually filter the names by their language. So for
instance:
break set -l c++ -r Name
will only break on C++ symbols that match Name, not ObjC or plain C symbols. This also works
for "break set -n" and there are SB API's to pass this as well.
llvm-svn: 252356
Diffstat (limited to 'lldb/scripts/interface')
| -rw-r--r-- | lldb/scripts/interface/SBTarget.i | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lldb/scripts/interface/SBTarget.i b/lldb/scripts/interface/SBTarget.i index 2a19ebd7378..e71f2563b84 100644 --- a/lldb/scripts/interface/SBTarget.i +++ b/lldb/scripts/interface/SBTarget.i @@ -595,9 +595,24 @@ public: const SBFileSpecList &comp_unit_list); lldb::SBBreakpoint + BreakpointCreateByName (const char *symbol_name, + uint32_t func_name_type, // Logical OR one or more FunctionNameType enum bits + lldb::LanguageType symbol_language, + const SBFileSpecList &module_list, + const SBFileSpecList &comp_unit_list); + + lldb::SBBreakpoint + BreakpointCreateByNames (const char *symbol_name[], + uint32_t num_names, + uint32_t name_type_mask, // Logical OR one or more FunctionNameType enum bits + const SBFileSpecList &module_list, + const SBFileSpecList &comp_unit_list); + + lldb::SBBreakpoint BreakpointCreateByNames (const char *symbol_name[], uint32_t num_names, uint32_t name_type_mask, // Logical OR one or more FunctionNameType enum bits + lldb::LanguageType symbol_language, const SBFileSpecList &module_list, const SBFileSpecList &comp_unit_list); @@ -605,6 +620,12 @@ public: BreakpointCreateByRegex (const char *symbol_name_regex, const char *module_name = NULL); lldb::SBBreakpoint + BreakpointCreateByRegex (const char *symbol_name_regex, + lldb::LanguageType symbol_language, + const SBFileSpecList &module_list, + const SBFileSpecList &comp_unit_list); + + lldb::SBBreakpoint BreakpointCreateBySourceRegex (const char *source_regex, const lldb::SBFileSpec &source_file, const char *module_name = NULL); lldb::SBBreakpoint |

