https://gcc.gnu.org/bugzilla/show_bug.cgi?id=127512
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> --- ... and there doesn't seem to be any workaround in the upstream sanitizer code. A workaround in the sanitizer code like the attached patch probably does belong upstream though, unless building LLVM with G++ on macOS is not intended to work at all.
