clayborg added a comment.

The main reason for two strings is for searching efficiency. Most people don't 
set breakpoints using full paths, they give the basename:

  (lldb) b main.c:12

When setting breakpoints is it very easy to search for matches by basename 
since this is what users usually type in. Easy to do full paths as well if 
needed. So we should not try to use a single string as it will adversely affect 
the speed of file and line breakpoints.


https://reviews.llvm.org/D39436



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to