eugenis added a comment. I think __hwasan_tls should be defined if !SANITIZER_ANDROID, without the other condition. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D61203/new/ https://reviews.llvm.org/D61203