[PATCH] D112126: [libunwind] Try to add -unwindlib=none while configuring and building libunwind

Louis Dionne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 08:15:07 PDT 2021


ldionne added a comment.

Honestly, this feels a bit messy to me. At some point I had a patch to set `CMAKE_TRY_COMPILE_TARGET_TYPE` to `STATIC` for all runtimes, unconditionally. We ended up not doing it over some concerns about the correctness of the change, however perhaps we should re-consider that?

Also TBH the more I look at it, the more I think that `check_c_compiler_flag` and the similar utilities provided by CMake out of the box don't work that well for our use case, since we run without a toolchain. Maybe we should consider moving away from those in the runtimes.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112126



More information about the llvm-commits mailing list