@mgorny: These fail for me on macOS too, if LLVM is configured as
cmake ../llvm/ -DCMAKE_BUILD_TYPE=Release -DLLVM_USE_SANITIZER=Address
I guess we might have to outright disable them under -DLLVM_USE_SANITIZER=Address.
Patch actually by Dan "@delcypher" Liew, I'm just passing by.
Hmm, I don't think you need to parenthesize the (NOT FOO) thing (and it looks bit weird to me).