commit | e847896e0802b9df2d49318edaf47342c084351d | [log] [tgz] |
---|---|---|
author | Hafiz Abid Qadeer <abidh@codesourcery.com> | Wed Jul 29 11:39:41 2020 +0100 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 28 11:17:52 2020 -0700 |
tree | 0e5a0efb36043600d23015e5e1df867fbc42de90 | |
parent | 483be11736a5719a87d31290cb4434b94601a74b [diff] |
[libunwind] Provide a way to set '_LIBUNWIND_IS_BAREMETAL' through cmake. 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. Reviewed By: compnerd, #libunwind Differential Revision: https://reviews.llvm.org/D84759 GitOrigin-RevId: 380fee34d2794361f9e222fe3c8c065be3b9fff8