This is due to a change i made recently to allow natural windows paths.  Just use only 1 backslash on command line, not 2.<br><br>b F:\work\demos\main.c:14<br><div class="gmail_quote">On Wed, Feb 4, 2015 at 7:07 AM Hafiz Abid Qadeer <<a href="mailto:abidh.haq@gmail.com">abidh.haq@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Greg,<br>
Thanks for the review. I think I found the real problem now.<br>
When FileSpec::Normalize is given this path with \\ in it, it ends up changing it to //. But there are still 2 / in it.<br>
<br>
Before: F:\\work\\demos\\main.c<br>
After: F://work//demos//main.c<br>
<br>
This then fails comparison in FileSpec::Equals as the path stored in the symbols have one /.<br>
<br>
I tried adding the following in the Normalize after std::replace call and it solved the problem.<br>
<br>
  auto iter = std::unique ( path.begin(), path.end(),<br>
                             []( char &c1, char &c2 ){<br>
                                return (c1 == '/' && c2 == '/');});<br>
  path.erase(iter, path.end() );<br>
<br>
Does this look ok to you? Please note that this problem also manifest if you try the following from command line.<br>
b F:\\work\\demos\\main.c:14<br>
<br>
<br>
<a href="http://reviews.llvm.org/D7379" target="_blank">http://reviews.llvm.org/D7379</a><br>
<br>
EMAIL PREFERENCES<br>
  <a href="http://reviews.llvm.org/settings/panel/emailpreferences/" target="_blank">http://reviews.llvm.org/<u></u>settings/panel/<u></u>emailpreferences/</a><br>
<br>
<br>
<br>
______________________________<u></u>_________________<br>
lldb-commits mailing list<br>
<a href="mailto:lldb-commits@cs.uiuc.edu" target="_blank">lldb-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/lldb-commits</a><br>
</blockquote></div>