Libunwind uses _LIBUNWIND_IS_BAREMETAL in a lot of places but there is no cmake variable to set it. This patch adds such a variable. It is quite like what LIBCXXABI_BAREMETAL does in libcxxabi.
Details
Details
- Reviewers
phosek compnerd mstorsjo - Group Reviewers
Restricted Project - Commits
- rG380fee34d279: [libunwind] Provide a way to set '_LIBUNWIND_IS_BAREMETAL' through cmake.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libunwind/CMakeLists.txt | ||
---|---|---|
365 | Done. But I noticed that most if in this file have a space after them. |
LLVM style is to not have the space after the if.