commit | f498a26976c869157a4da7147763cab5037e8e0b | [log] [tgz] |
---|---|---|
author | Saleem Abdulrasool <compnerd@compnerd.org> | Sun Jun 13 14:28:43 2021 -0700 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Jun 16 12:34:28 2021 -0700 |
tree | b54eb543d61e87726eea38b614a87d539a545f4c | |
parent | 14ed70cd7d3ac5df1cc037b721d058bce275de87 [diff] |
unwind: allow building with GCC This was regressed in adf1561d6ce8. Since gcc does not support `__has_feature`, this adjusts the build to use the `__SANITIZE_ADDRESS__` macro which GCC defines to identify if ASAN is enabled (similar to `__has_feature`). This allows building libunwind with gcc again. Patch by Daniel Levin! Reviewed By: compnerd Differential Revision: https://reviews.llvm.org/D104176 GitOrigin-RevId: e03be2efe564026ad3b04d459794c89c674e1ed9