I believe that you have to manage the --threads
yourself. There are similar issues with ninja. It has no notion of parallel jobs. For your 48 core Cascade Lake, ninja will start ~48 jobs. If many of them are lld, you will completely oversubscribe the machine.