[llvm-branch-commits] [clang][ubsan] Switch UBSAN optimization to `llvm.experimental.hot` (PR #84858)
Fangrui Song via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 12 18:34:44 PDT 2024
================
@@ -100,9 +100,9 @@ using namespace llvm;
namespace llvm {
extern cl::opt<bool> PrintPipelinePasses;
-cl::opt<bool> ClRemoveTraps("clang-remove-traps", cl::Optional,
- cl::desc("Insert remove-traps pass."),
- cl::init(false));
+static cl::opt<bool> ClRemoveTraps("clang-remove-traps", cl::Optional,
+ cl::desc("Insert remove-traps pass."),
+ cl::init(false));
----------------
MaskRay wrote:
We usually omit `cl::init(false)`
https://github.com/llvm/llvm-project/pull/84858
More information about the llvm-branch-commits
mailing list