[compiler-rt] 60913eb - [NFC][LSAN] Use InitializeCommonFlags in LSAN

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 21 01:42:05 PDT 2020


Author: Vitaly Buka
Date: 2020-10-21T01:41:52-07:00
New Revision: 60913ebcbcb84d1757a4596816637b3861c1cc08

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

LOG: [NFC][LSAN] Use InitializeCommonFlags in LSAN

Added: 
    

Modified: 
    compiler-rt/lib/lsan/lsan.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/lsan/lsan.cpp b/compiler-rt/lib/lsan/lsan.cpp
index c8cc045783d4..2c0a3bf0787c 100644
--- a/compiler-rt/lib/lsan/lsan.cpp
+++ b/compiler-rt/lib/lsan/lsan.cpp
@@ -77,7 +77,7 @@ static void InitializeFlags() {
   parser.ParseString(lsan_default_options);
   parser.ParseStringFromEnv("LSAN_OPTIONS");
 
-  SetVerbosity(common_flags()->verbosity);
+  InitializeCommonFlags();
 
   if (Verbosity()) ReportUnrecognizedFlags();
 


        


More information about the llvm-commits mailing list