We need to propagate the debug location information even when dealing with the
[oota-llvm.git] / lib / Target / TargetMachine.cpp
index a1d6fa7eb9755b406ec824ed044e08fe136be057..49f1e4dfaae6c29e61d2a7de94e2d0b152b0d3b4 100644 (file)
@@ -40,6 +40,7 @@ namespace llvm {
   bool VerboseAsm;
   bool DisableJumpTables;
   bool StrongPHIElim;
+  bool DisableRedZone;
 }
 
 static cl::opt<bool, true> PrintCode("print-machineinstrs",
@@ -164,6 +165,12 @@ EnableStrongPHIElim(cl::Hidden, "strong-phi-elim",
            cl::location(StrongPHIElim),
            cl::init(false));
 
+static cl::opt<bool, true>
+DisableRedZoneOption("disable-red-zone",
+           cl::desc("Do not emit code that uses the red zone."),
+           cl::location(DisableRedZone),
+           cl::init(false));
+
 //---------------------------------------------------------------------------
 // TargetMachine Class
 //