aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CommandFlags.cpp
diff options
context:
space:
mode:
authorYuanfang Chen <yuanfang.chen@sony.com>2022-02-10 14:17:37 -0800
committerYuanfang Chen <yuanfang.chen@sony.com>2022-02-10 14:17:37 -0800
commitb380a31de084a540cfa38b72e609b25ea0569bb7 (patch)
tree9ae6349fdc07f27aa3cfc636fe7cad833ece70f5 /llvm/lib/CodeGen/CommandFlags.cpp
parent59ad9650cf66e7ad7503711a46bee7ce2fb76cca (diff)
downloadllvm-b380a31de084a540cfa38b72e609b25ea0569bb7.zip
llvm-b380a31de084a540cfa38b72e609b25ea0569bb7.tar.gz
llvm-b380a31de084a540cfa38b72e609b25ea0569bb7.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/CommandFlags.cpp')
-rw-r--r--llvm/lib/CodeGen/CommandFlags.cpp8
1 files changed, 0 insertions, 8 deletions
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<bool> 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();