[PATCH] D123971: [clang][PS4] Enable SplitLTOUnits by default

Paul Robinson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 8 12:54:25 PDT 2023


probinson added inline comments.


================
Comment at: clang/test/Driver/split-lto-unit.c:9
+// RUN: %clang -target x86_64-scei-ps4 -### %s -fwhole-program-vtables -flto=full -funified-lto 2>&1 | FileCheck --check-prefix=UNIT %s
+// RUN: %clang -target x86_64-scei-ps4 -### %s -fwhole-program-vtables -flto=thin -funified-lto 2>&1 | FileCheck --check-prefix=UNIT %s
+// RUN: %clang -target x86_64-unknown-linux -### %s -fwhole-program-vtables -flto=full -funified-lto 2>&1 | FileCheck --check-prefix=UNIT %s
----------------
This all shows that `-funified-lto` has the desired effect, but not what the defaults are (yes for PS4, no for e.g. linux).


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

https://reviews.llvm.org/D123971



More information about the llvm-commits mailing list