mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +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
|
@ -143,7 +143,7 @@ enum BfCompilerOptionFlags
|
|||
BfCompilerOptionFlag_EmitLineInfo = 2,
|
||||
BfCompilerOptionFlag_WriteIR = 4,
|
||||
BfCompilerOptionFlag_GenerateOBJ = 8,
|
||||
BfCompilerOptionFlag_NoFramePointerElim = 0x10,
|
||||
BfCompilerOptionFlag_GenerateBitcode = 0x10,
|
||||
BfCompilerOptionFlag_ClearLocalVars = 0x20,
|
||||
BfCompilerOptionFlag_RuntimeChecks = 0x40,
|
||||
BfCompilerOptionFlag_EmitDynamicCastCheck = 0x80,
|
||||
|
@ -151,11 +151,12 @@ enum BfCompilerOptionFlags
|
|||
BfCompilerOptionFlag_EmitObjectAccessCheck = 0x200,
|
||||
BfCompilerOptionFlag_EnableCustodian = 0x400,
|
||||
BfCompilerOptionFlag_EnableRealtimeLeakCheck = 0x800,
|
||||
BfCompilerOptionFlag_EnableSideStack = 0x1000,
|
||||
BfCompilerOptionFlag_EnableHotSwapping = 0x2000,
|
||||
BfCompilerOptionFlag_IncrementalBuild = 0x4000,
|
||||
BfCompilerOptionFlag_DebugAlloc = 0x8000,
|
||||
BfCompilerOptionFlag_OmitDebugHelpers = 0x10000
|
||||
BfCompilerOptionFlag_EnableSideStack = 0x1000,
|
||||
BfCompilerOptionFlag_EnableHotSwapping = 0x2000,
|
||||
BfCompilerOptionFlag_IncrementalBuild = 0x4000,
|
||||
BfCompilerOptionFlag_DebugAlloc = 0x8000,
|
||||
BfCompilerOptionFlag_OmitDebugHelpers = 0x10000,
|
||||
BfCompilerOptionFlag_NoFramePointerElim = 0x20000,
|
||||
};
|
||||
|
||||
enum BfTypeFlags
|
||||
|
@ -300,6 +301,7 @@ struct BfCodeGenOptions
|
|||
bool mIsHotCompile;
|
||||
|
||||
bool mWriteObj;
|
||||
bool mWriteBitcode;
|
||||
BfAsmKind mAsmKind;
|
||||
bool mWriteToLib;
|
||||
bool mWriteLLVMIR;
|
||||
|
@ -354,6 +356,7 @@ struct BfCodeGenOptions
|
|||
{
|
||||
mIsHotCompile = false;
|
||||
mWriteObj = true;
|
||||
mWriteBitcode = false;
|
||||
mAsmKind = BfAsmKind_None;
|
||||
mWriteToLib = false;
|
||||
mWriteLLVMIR = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue