mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Made global creation failure more debuggable
This commit is contained in:
parent
b6f2762f19
commit
9facb06d52
3 changed files with 5 additions and 5 deletions
|
@ -1905,10 +1905,10 @@ void BfIRCodeGen::HandleNextCmd()
|
|||
{
|
||||
CMD_PARAM(llvm::Type*, varType);
|
||||
CMD_PARAM(bool, isConstant);
|
||||
BfIRLinkageType linkageType = (BfIRLinkageType)mStream->Read();
|
||||
CMD_PARAM(llvm::Constant*, initializer);
|
||||
BfIRLinkageType linkageType = (BfIRLinkageType)mStream->Read();
|
||||
CMD_PARAM(String, name);
|
||||
CMD_PARAM(bool, isTLS);
|
||||
CMD_PARAM(llvm::Constant*, initializer);
|
||||
|
||||
auto globalVariable = new llvm::GlobalVariable(
|
||||
*mLLVMModule,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue