mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-17 15:46:05 +02:00
Added bitcode emission, additional logging
This commit is contained in:
parent
1e8c633a36
commit
43b69023f6
14 changed files with 74 additions and 31 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
@ -17,7 +18,9 @@ namespace IDE
|
|||
{
|
||||
Object,
|
||||
IRCode,
|
||||
ObjectAndIRCode
|
||||
ObjectAndIRCode,
|
||||
Bitcode,
|
||||
BitcodeAndIRCode,
|
||||
}
|
||||
|
||||
public enum PlatformType
|
||||
|
@ -748,7 +751,7 @@ namespace IDE
|
|||
options.mIncrementalBuild = !isRelease;
|
||||
|
||||
options.mAllocStackTraceDepth = 1;
|
||||
options.mIntermediateType = .Object;
|
||||
options.mIntermediateType = (platformType == .iOS) ? .Bitcode : .Object;
|
||||
options.mCSIMDSetting = .SSE2;
|
||||
options.mCOptimizationLevel = isRelease ? .O2 : .O0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue