mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed some alignment differences between LLVM and BeefBE
This commit is contained in:
parent
0ae14f5a5d
commit
1ca01864bb
12 changed files with 73 additions and 21 deletions
|
@ -3312,7 +3312,7 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
//BF_ASSERT(file != NULL);
|
||||
llvm::DIExpression* diExpr = NULL;
|
||||
auto gve = mDIBuilder->createGlobalVariableExpression((llvm::DIScope*)context, name.c_str(), linkageName.c_str(), (llvm::DIFile*)file, lineNum, (llvm::DIType*)type,
|
||||
isLocalToUnit, diExpr, decl);
|
||||
isLocalToUnit, diExpr, decl);
|
||||
|
||||
if (val != NULL)
|
||||
{
|
||||
|
@ -3320,7 +3320,7 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
{
|
||||
globalVar->addDebugInfo(gve);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
SetResult(curId, diExpr);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue