fzakaria wrote: This should be rebased on top of https://github.com/llvm/llvm-project/pull/174508 I am publishing it to share how I had to plumb the option through to get the feature to work for compilation and LTO. https://github.com/llvm/llvm-project/pull/187583