1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-10 12:32:20 +02:00

Added TargetTriple, fixed asm stuff for non-x86 LLVM

This commit is contained in:
Brian Fiete 2019-10-17 06:30:17 -07:00
parent 079574a4e7
commit e2dad5f838
8 changed files with 110 additions and 11 deletions

View file

@ -2,6 +2,7 @@
#include "BfIRBuilder.h"
#include "BfSystem.h"
#include "BfTargetTriple.h"
NS_BF_BEGIN
@ -53,6 +54,7 @@ class BfIRCodeGen : public BfIRCodeGenBase
public:
BfIRBuilder* mBfIRBuilder;
BfTargetTriple mTargetTriple;
String mModuleName;
llvm::LLVMContext* mLLVMContext;
llvm::Module* mLLVMModule;