From b380a31de084a540cfa38b72e609b25ea0569bb7 Mon Sep 17 00:00:00 2001 From: Yuanfang Chen Date: Thu, 10 Feb 2022 14:17:37 -0800 Subject: Revert "[clang-cl] Support the /JMC flag" This reverts commit bd3a1de683f80d174ea9c97000db3ec3276bc022. Break bots: https://luci-milo.appspot.com/ui/p/fuchsia/builders/toolchain.ci/clang-windows-x64/b8822587673277278177/overview --- llvm/lib/CodeGen/CommandFlags.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'llvm/lib/CodeGen/CommandFlags.cpp') diff --git a/llvm/lib/CodeGen/CommandFlags.cpp b/llvm/lib/CodeGen/CommandFlags.cpp index 87758c4..cb77407 100644 --- a/llvm/lib/CodeGen/CommandFlags.cpp +++ b/llvm/lib/CodeGen/CommandFlags.cpp @@ -95,7 +95,6 @@ CGOPT(bool, ForceDwarfFrameSection) CGOPT(bool, XRayOmitFunctionIndex) CGOPT(bool, DebugStrictDwarf) CGOPT(unsigned, AlignLoops) -CGOPT(bool, JMCInstrument) codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { #define CGBINDOPT(NAME) \ @@ -465,12 +464,6 @@ codegen::RegisterCodeGenFlags::RegisterCodeGenFlags() { cl::desc("Default alignment for loops")); CGBINDOPT(AlignLoops); - static cl::opt JMCInstrument( - "enable-jmc-instrument", - cl::desc("Instrument functions with a call to __CheckForDebuggerJustMyCode"), - cl::init(false)); - CGBINDOPT(JMCInstrument); - #undef CGBINDOPT mc::RegisterMCTargetOptionsFlags(); @@ -546,7 +539,6 @@ codegen::InitTargetOptionsFromCodeGenFlags(const Triple &TheTriple) { Options.XRayOmitFunctionIndex = getXRayOmitFunctionIndex(); Options.DebugStrictDwarf = getDebugStrictDwarf(); Options.LoopAlignment = getAlignLoops(); - Options.JMCInstrument = getJMCInstrument(); Options.MCOptions = mc::InitMCTargetOptionsFromFlags(); -- cgit v1.1