Recently I found myself using the mozbuild-supplied clang for compiling Gecko on Linux (https://bugzilla.mozilla.org/show_bug.cgi?id=1451312). It works just peachily for me, and I find myself liking their error message decorators better than gcc's.
Since we supply a compiler during bootstrap, it seems a little odd we don't default to using it. :chutten On Mon, May 14, 2018 at 4:58 PM David Major <dma...@mozilla.com> wrote: > We've confirmed that this issue with debug symbols comes from lld-link and > not from clang-cl. This will likely need a fix from the LLVM side, but in > the meantime I'd like to encourage people not to be deterred from using > clang-cl as your compiler. > > On Thu, May 10, 2018 at 9:12 PM Xidorn Quan <m...@upsuper.org> wrote: > > > On Fri, May 11, 2018, at 10:35 AM, Anthony Jones wrote: > > > I have some specific requests for you: > > > > > > Let me know if you have specific Firefox related cases where Rust > is > > > slowing you down (thanks Jeff [7]) > > > Cross language inlining is coming - avoid duplication between Rust > > > and C++ in the name of performance > > > Do developer builds with clang > > > Regarding the last item about building with clang on Windows, I'd not > recommend people who use Visual Studio for debugging Windows build to build > with clang at this moment. > > > I've tried using lld-link as linker (while continuing using cl rather > than clang-cl) for my local Windows build, and it seems to cause problems > when debugging with Visual Studio. Specifically, you may not be able to > invoke debugging functions like DumpJSStack, DumpFrameTree in Immediate > Windows, and variable value watching doesn't seem to work well either. > > > I've filed a bug[1] for the debugging function issue (and probably should > file another for the watching issue as well). > > > [1] https://bugzilla.mozilla.org/show_bug.cgi?id=1458109 > > > > - Xidorn > > _______________________________________________ > > dev-platform mailing list > > dev-platform@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ > dev-platform mailing list > dev-platform@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-platform > _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform