ilya-biryukov added a comment. In D56976#1365087 <https://reviews.llvm.org/D56976#1365087>, @mgorny wrote:
> 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. But it does so in all OSes and still manages find libc++, right? What's different for *BSD? One possible fix is to start passing proper `argv[0]` into `getMainExecutable`, but my expectation is that using `clang` there was intentional: the tooling library tries to fallback to the system clang in that case. 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