[PATCH] D45558: [test-suite] Save stats for LTO step too.

Matthias Braun via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 25 09:00:51 PDT 2018


MatzeB added inline comments.


================
Comment at: test-suite/trunk/CMakeLists.txt:198
+  # Collect stats for LTO step too.
+  if (${CMAKE_C_FLAGS} MATCHES ".*-flto.*" AND
+      ${CMAKE_CXX_FLAGS} MATCHES ".*-flto.*")
----------------
You could just append the flag to LDFLAHS unconditionally now, can you? (Or do nothing at all, I think currently we append cflags to all linker invocations too; which admittedly is bad style but unlikely to change...


Repository:
  rL LLVM

https://reviews.llvm.org/D45558





More information about the llvm-commits mailing list