[Lldb-commits] [PATCH] D20041: File path comparisons should be case-insensitive on OS X

Vyacheslav Karpukhin via lldb-commits lldb-commits at lists.llvm.org
Fri May 6 18:36:56 PDT 2016


stigger added a comment.

These are valid points, but they apply to Linux and Windows as well: nothing prevents you from mounting a case-insensitive FS on Linux or a case-sensitive network share on Windows. However, in most cases the file system is going to be case-sensitive on Linux and case-insensitive on Windows.

It is true, that HFS supports optional case-sensitivity, but by default it is not being used, and 99% of Mac users out there are on case-insensitive FS.

Of course, it would be nice to dynamically check case sensitivity for every path, but that should be done for all platforms and is kind of out of scope of the problem that I tried to solve here. Plus, it might affect the performance.


http://reviews.llvm.org/D20041





More information about the lldb-commits mailing list