[all-commits] [llvm/llvm-project] e7196b: [Scudo][CMake] Add -fno-lto to Scudo libraries

aeubanks via All-commits all-commits at lists.llvm.org
Wed Jul 29 10:30:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: e7196bdf81251a4df97746fd54b7db749ca99097
      https://github.com/llvm/llvm-project/commit/e7196bdf81251a4df97746fd54b7db749ca99097
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2020-07-29 (Wed, 29 Jul 2020)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt

  Log Message:
  -----------
  [Scudo][CMake] Add -fno-lto to Scudo libraries

-fno-lto is in SANITIZER_COMMON_CFLAGS but not here.
Don't use SANITIZER_COMMON_CFLAGS because of performance issues.
See https://bugs.llvm.org/show_bug.cgi?id=46838.

Fixes
$ ninja TScudoCUnitTest-i386-Test
on an LLVM build with -DLLVM_ENABLE_LTO=Thin.
check-scudo now passes.

Reviewed By: cryptoad

Differential Revision: https://reviews.llvm.org/D84805




More information about the All-commits mailing list