| Index: src/IceClFlags.cpp | 
| diff --git a/src/IceClFlags.cpp b/src/IceClFlags.cpp | 
| index c6ea696832add1cc872e7f80ed00af082ec60cba..995306876356630423c213355c3dac6ad41d6b3f 100644 | 
| --- a/src/IceClFlags.cpp | 
| +++ b/src/IceClFlags.cpp | 
| @@ -145,6 +145,13 @@ cl::opt<Ice::TargetArch> TargetArch( | 
| clEnumValN(Ice::Target_MIPS32, "mips", "mips32"), | 
| clEnumValN(Ice::Target_MIPS32, "mips32", "mips32 (same as mips)"), | 
| clEnumValEnd)); | 
| + | 
| +cl::opt<uint32_t> TestStackExtra( | 
| +    "test-stack-extra", | 
| +    cl::desc( | 
| +        "Extra amount of stack to add to the frame in bytes (for testing)."), | 
| +    cl::init(0)); | 
| + | 
| cl::opt<Ice::TargetInstructionSet> TargetInstructionSet( | 
| "mattr", cl::desc("Target architecture attributes"), | 
| cl::init(Ice::BaseInstructionSet), | 
| @@ -362,6 +369,7 @@ void ClFlags::resetClFlags(ClFlags &OutFlags) { | 
| OutFlags.RandomizeAndPoolImmediatesThreshold = 0xffff; | 
| OutFlags.ReorderFunctionsWindowSize = 8; | 
| OutFlags.TArch = TargetArch_NUM; | 
| +  OutFlags.TestStackExtra = 0; | 
| OutFlags.VMask = IceV_None; | 
| // IceString fields. | 
| OutFlags.DefaultFunctionPrefix = ""; | 
| @@ -418,6 +426,7 @@ void ClFlags::getParsedClFlags(ClFlags &OutFlags) { | 
| OutFlags.setTargetArch(::TargetArch); | 
| OutFlags.setTargetInstructionSet(::TargetInstructionSet); | 
| OutFlags.setTestPrefix(::TestPrefix); | 
| +  OutFlags.setTestStackExtra(::TestStackExtra); | 
| OutFlags.setTimeEachFunction(::TimeEachFunction); | 
| OutFlags.setTimingFocusOn(::TimingFocusOn); | 
| OutFlags.setTranslateOnly(::TranslateOnly); | 
|  |