mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +02:00
Added Android support, and generalized target triple support
Added PICLevel, RelocKind DarwinCommon/LinuxCommon/AndroidCommon merged into PosixCommon Mangling changed to avoid '@'
This commit is contained in:
parent
7a27ab75bf
commit
3883a3674d
39 changed files with 3457 additions and 5636 deletions
|
@ -2110,7 +2110,7 @@ void BfIRBuilder::CreateTypeDeclaration(BfType* type, bool forceDefine)
|
|||
String prefix = typeDef->mProject->mName + ".";
|
||||
StringT<128> mangledName;
|
||||
mangledName += prefix;
|
||||
BfMangler::Mangle(mangledName, mModule->mCompiler->GetMangleKind(), typeInstance);
|
||||
BfMangler::Mangle(mangledName, mModule->mCompiler->GetMangleKind(), typeInstance, typeInstance->mModule);
|
||||
BfIRType irStructType = CreateStructType(mangledName);
|
||||
if (type->IsObjectOrInterface())
|
||||
{
|
||||
|
@ -4748,7 +4748,7 @@ BfIRValue BfIRBuilder::DbgLifetimeEnd(BfIRMDNode varInfo)
|
|||
}
|
||||
|
||||
void BfIRBuilder::DbgCreateGlobalVariable(BfIRMDNode context, const StringImpl& name, const StringImpl& linkageName, BfIRMDNode file, int lineNumber, BfIRMDNode type, bool isLocalToUnit, BfIRValue val, BfIRMDNode decl)
|
||||
{
|
||||
{
|
||||
WriteCmd(BfIRCmd_DbgCreateGlobalVariable, context, name, linkageName, file, lineNumber, type, isLocalToUnit, val, decl);
|
||||
NEW_CMD_INSERTED;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue