1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +02:00

Added CallingConvention support, mangle specifying

This commit is contained in:
Brian Fiete 2020-05-04 07:15:38 -07:00
parent 904f907f1d
commit 61d9edea83
26 changed files with 413 additions and 96 deletions

View file

@ -93,6 +93,7 @@ public:
public:
BfModule* mModule;
bool mCCompat;
bool mCPPMangle;
bool mInArgs;
bool mPrefixObjectPointer;
llvm::SmallVector<NameSubstitute, 32> mSubstituteList;
@ -102,6 +103,7 @@ public:
{
mModule = NULL;
mCCompat = false;
mCPPMangle = false;
mInArgs = false;
mPrefixObjectPointer = false;
}
@ -136,6 +138,7 @@ public:
BfModule* mModule;
bool mCCompat;
bool mCPPMangle;
bool mIs64Bit;
SizedArray<NameSubstitute, 10> mSubstituteList;
SizedArray<BfType*, 10> mSubstituteTypeList;
@ -151,6 +154,7 @@ public:
mModule = NULL;
mCCompat = false;
mIs64Bit = false;
mCPPMangle = false;
mWantsGroupStart = false;
mInArgs = false;
mInRet = false;