1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-07-04 23:36:00 +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

@ -0,0 +1,24 @@
#pragma once
#include "BfSystem.h"
NS_BF_BEGIN
class BfTargetTriple
{
public:
String mTargetTriple;
bool mParsed;
BfMachineType mMachineType;
public:
void Parse();
public:
BfTargetTriple();
BfTargetTriple(const StringImpl& targetTriple);
void Set(const StringImpl& targetTriple);
BfMachineType GetMachineType();
};
NS_BF_END