[compiler-rt] dd4c999 - fix typo in a CMake SANITIZER_CAN_USE_CXXABI variable initial definition

Jim Lin via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 11 23:02:27 PDT 2021


Author: Jim Lin
Date: 2021-04-12T14:05:37+08:00
New Revision: dd4c999c2316288f7c560f5c18077642c14b50df

URL: https://github.com/llvm/llvm-project/commit/dd4c999c2316288f7c560f5c18077642c14b50df
DIFF: https://github.com/llvm/llvm-project/commit/dd4c999c2316288f7c560f5c18077642c14b50df.diff

LOG: fix typo in a CMake SANITIZER_CAN_USE_CXXABI variable initial definition

The current variable name isn't used anywhere else, which indicates it's
a typo.  Let's fix it before someone copy+pastes it somewhere else.

Reviewed By: Jim

Differential Revision: https://reviews.llvm.org/D39157

Added: 
    

Modified: 
    compiler-rt/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/compiler-rt/CMakeLists.txt b/compiler-rt/CMakeLists.txt
index b6cbcea91f5a7..2d5fd9cc4d816 100644
--- a/compiler-rt/CMakeLists.txt
+++ b/compiler-rt/CMakeLists.txt
@@ -173,7 +173,7 @@ endif()
 
 option(SANITIZER_ALLOW_CXXABI "Allow use of C++ ABI details in ubsan" ON)
 
-set(SANITIZE_CAN_USE_CXXABI OFF)
+set(SANITIZER_CAN_USE_CXXABI OFF)
 if (cxxabi_supported AND SANITIZER_ALLOW_CXXABI)
   set(SANITIZER_CAN_USE_CXXABI ON)
 endif()


        


More information about the llvm-commits mailing list