[all-commits] [llvm/llvm-project] 8342ea: [scudo] Try to fix standalone build on armv7

Diana via All-commits all-commits at lists.llvm.org
Mon Aug 8 01:22:41 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8342ea6eac85bd20c56be0ab71b4ebbccd134c67
      https://github.com/llvm/llvm-project/commit/8342ea6eac85bd20c56be0ab71b4ebbccd134c67
  Author: Diana Picus <diana.picus at linaro.org>
  Date:   2022-08-08 (Mon, 08 Aug 2022)

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

  Log Message:
  -----------
  [scudo] Try to fix standalone build on armv7

When linking scudo standalone on armv7, it can't find symbols related to
unwinding (e.g. __aeabi_unwind_cpp_pr0). This is because it is passing
--unwindlib=none. This patch hacks around the issue by adding
COMPILER_RT_UNWINDER_LINK_LIBS to the link line.

I don't know anything about scudo, so I'm not sure what the original
intention was.

See also https://github.com/llvm/llvm-project/issues/56900

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




More information about the All-commits mailing list