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

Matthew Voss via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 9 17:00:07 PDT 2023


ormris 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
----------------
probinson wrote:
> This all shows that `-funified-lto` has the desired effect, but not what the defaults are (yes for PS4, no for e.g. linux).
Should be fixed.


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

https://reviews.llvm.org/D123971



More information about the llvm-commits mailing list