This makes sure to include libunwind log messages in the build if
LIBUNWIND_ENABLE_ASSERTIONS is set (which it is by default), when
building in RelWithDebInfo configurations.
Details
Details
- Reviewers
MaskRay phosek - Group Reviewers
Restricted Project - Commits
- rGf1f8899a1882: [libunwind] [CMake] Handle the RelWithDebInfo configuration similarly to Release
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I checked LLVM_ENABLE_ASSERTS, and that one seems to have handled this by inverting the condition, checking for NOT “DEBUG”, I guess that’d be even better?
Comment Actions
Restructured to check NOT STREQUAL "DEBUG" instead of enumerating the release modes, matching a similar check in llvm/cmake/modules/HandleLLVMOptions.cmake. I'll push this later if there's no further comments on it.