commit | cca6090b13ab503bef1cfa327e2d107789d6bd30 | [log] [tgz] |
---|---|---|
author | Jonathan Wakely <jwakely@redhat.com> | Tue Nov 30 13:14:38 2021 +0000 |
committer | Jonathan Wakely <jwakely@redhat.com> | Tue Nov 30 20:10:19 2021 +0000 |
tree | 305a334b664a37dd1cb6a0870150ff7b778e17f3 | |
parent | 36421e76a7150621f2a5c7060ddd3f80aa825a40 [diff] |
libstdc++: Make Asan detection work for Clang [PR103453] Clang doesn't define __SANITIZE_ADDRESS__ so use its __has_feature check to detect Asan instead. libstdc++-v3/ChangeLog: PR libstdc++/103453 * config/allocator/malloc_allocator_base.h (_GLIBCXX_SANITIZE_STD_ALLOCATOR): Define for Clang. * config/allocator/new_allocator_base.h (_GLIBCXX_SANITIZE_STD_ALLOCATOR): Likewise.