mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
Remove segmented stack option from LLVMRustCreateTargetMachine. Unused.
This commit is contained in:
parent
6861c51453
commit
99741700e5
@ -2044,7 +2044,6 @@ extern {
|
||||
Model: CodeGenModel,
|
||||
Reloc: RelocMode,
|
||||
Level: CodeGenOptLevel,
|
||||
EnableSegstk: bool,
|
||||
UseSoftFP: bool,
|
||||
PositionIndependentExecutable: bool,
|
||||
FunctionSections: bool,
|
||||
|
@ -218,7 +218,6 @@ pub fn create_target_machine(sess: &Session) -> TargetMachineRef {
|
||||
code_model,
|
||||
reloc_model,
|
||||
opt_level,
|
||||
true /* EnableSegstk */,
|
||||
use_softfp,
|
||||
!any_library && reloc_model == llvm::RelocPIC,
|
||||
ffunction_sections,
|
||||
|
@ -80,7 +80,6 @@ LLVMRustCreateTargetMachine(const char *triple,
|
||||
CodeModel::Model CM,
|
||||
Reloc::Model RM,
|
||||
CodeGenOpt::Level OptLevel,
|
||||
bool EnableSegmentedStacks,
|
||||
bool UseSoftFloat,
|
||||
bool PositionIndependentExecutable,
|
||||
bool FunctionSections,
|
||||
|
Loading…
Reference in New Issue
Block a user