[PATCH] D104764: [CMake] Don't LTO optimize targets on Darwin either

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 11:18:29 PDT 2021


int3 added a comment.

Nope, we didn't add support for `--lto-O0`. I *think* the ld64 equivalent is `-flto-codegen-only`, but we don't support that yet either (and it's undocumented). However, we do support `-mllvm`, so `-mllvm,-O0` should work.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D104764/new/

https://reviews.llvm.org/D104764



More information about the llvm-commits mailing list