mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
Command line option to enable support for segmented stacks:
-segmented-stacks. Patch by Sanjoy Das! llvm-svn: 138811
This commit is contained in:
parent
91aa81acaa
commit
84f69a1992
@ -158,6 +158,8 @@ namespace llvm {
|
||||
/// instead of an ISD::TRAP node.
|
||||
extern StringRef getTrapFunctionName();
|
||||
|
||||
extern bool EnableSegmentedStacks;
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
#endif
|
||||
|
@ -47,6 +47,7 @@ namespace llvm {
|
||||
bool StrongPHIElim;
|
||||
bool HasDivModLibcall;
|
||||
bool AsmVerbosityDefault(false);
|
||||
bool EnableSegmentedStacks;
|
||||
}
|
||||
|
||||
static cl::opt<bool, true>
|
||||
@ -178,6 +179,12 @@ static cl::opt<bool>
|
||||
FunctionSections("ffunction-sections",
|
||||
cl::desc("Emit functions into separate sections"),
|
||||
cl::init(false));
|
||||
static cl::opt<bool, true>
|
||||
SegmentedStacks("segmented-stacks",
|
||||
cl::desc("Use segmented stacks if possible."),
|
||||
cl::location(EnableSegmentedStacks),
|
||||
cl::init(false));
|
||||
|
||||
//---------------------------------------------------------------------------
|
||||
// TargetMachine Class
|
||||
//
|
||||
|
Loading…
x
Reference in New Issue
Block a user