[llvm] [cmake] Optimize RelWithDebInfo compiler options on windows (PR #101533)

via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 7 02:31:38 PDT 2024


zmodem wrote:

This patch seems brittle though. What if LLVM's regular Release flags change, how do we ensure that CMAKE_CXX_FLAGS_RELWITHDEBINFO is kept in sync?

Could we define CMAKE_CXX_FLAGS_RELWITHDEBINFO to be CMAKE_CXX_FLAGS_RELEASE + debug flags somewhere?

https://github.com/llvm/llvm-project/pull/101533


More information about the llvm-commits mailing list