diff --git a/README.md b/README.md index 7a3f4e6fd07661d933cfced19cb147def9e476eb..93e9c7138c5a0a840f583c088e691c2d27474b83 100644 --- a/README.md +++ b/README.md @@ -107,7 +107,7 @@ This is an example work-flow and configuration to get and build the LLVM source: In most cases, you get the best performance if you specify the number of CPU threads you have. On some Unix systems, you can specify this with ``-j$(nproc)``. - * For more information see [CMake](https://llvm.org/docs/CMake.html). + * For more information see [CMake](https://llvm.org/docs/CMake.html) Consult the [Getting Started with LLVM](https://llvm.org/docs/GettingStarted.html#getting-started-with-llvm) diff --git a/clang/lib/Driver/ToolChains/OHOS.cpp b/clang/lib/Driver/ToolChains/OHOS.cpp index 551ae2ec821c19079e1d7fcab2dd626c3b34d86b..916e39d2187d2cda4748cdaebcb4b50d90c11724 100644 --- a/clang/lib/Driver/ToolChains/OHOS.cpp +++ b/clang/lib/Driver/ToolChains/OHOS.cpp @@ -415,6 +415,7 @@ SanitizerMask OHOS::getSupportedSanitizers() const { Res |= SanitizerKind::Scudo; Res |= SanitizerKind::KernelAddress; Res |= SanitizerKind::KernelMemory; + Res |= SanitizerKind::HWAddress; // TODO: Support TSAN and HWASAN and update mask. return Res; }