https://llvm.org/bugs/show_bug.cgi?id=28041

            Bug ID: 28041
           Summary: Tab completion adds backslashes to function names,
                    which causes them not to match
           Product: lldb
           Version: 3.6
          Hardware: Macintosh
                OS: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: lldb-...@lists.llvm.org
          Reporter: chris+l...@qwirx.com
                CC: llvm-bugs@lists.llvm.org
    Classification: Unclassified

(lldb) b BackupStoreException::BackupStoreException<tab> results in:

(lldb) b BackupStoreException::BackupStoreException(unsigned\ int,\
std::__1::basic_string<char,\ std::__1::char_traits<char>,\
std::__1::allocator<char>\ >\ const&) <enter>
Breakpoint 1: no locations (pending).
WARNING:  Unable to resolve breakpoint to any actual locations.

However, the function does exist:

(lldb) b BackupStoreException::BackupStoreException                            
                                                                         
Breakpoint 2: 2 locations.

I think that the inserted backslashes are the problem. If I remove them,
setting the breakpoint works:

(lldb) b BackupStoreException::BackupStoreException(unsigned int,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char> > const&)
Breakpoint 3: 2 locations.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to