mgorny added a comment. In D56976#1365001 <https://reviews.llvm.org/D56976#1365001>, @ilya-biryukov wrote:
> LGTM to unbreak the tests on *BSD, but could you please leave a comment? > It would probably be best to take `argv[0]` into account on *BSD systems as > well (possibly only if `clang` could not be found). > > At least if that's the behaviour on **all** other systems. Actually, it works on other systems because they don't use `argv[0]`. The problem is in compilation db code using getMainExecutable() in ctor without passing the real argv to it. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D56976/new/ https://reviews.llvm.org/D56976 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits