mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Set the code model when specified.
llvm-svn: 334571
This commit is contained in:
parent
fa1ab0b0a2
commit
164f4125a2
@ -840,6 +840,7 @@ static std::unique_ptr<LTO> createLTO(IndexWriteCallback OnIndexWrite,
|
||||
|
||||
Conf.MAttrs = MAttrs;
|
||||
Conf.RelocModel = RelocationModel;
|
||||
Conf.CodeModel = getCodeModel();
|
||||
Conf.CGOptLevel = getCGOptLevel();
|
||||
Conf.DisableVerify = options::DisableVerify;
|
||||
Conf.OptLevel = options::OptLevel;
|
||||
|
Loading…
Reference in New Issue
Block a user