mirror of
https://github.com/ziglang/zig.git
synced 2024-12-01 01:22:50 +00:00
update to latest llvm API
This commit is contained in:
parent
cca93908e6
commit
5800faa318
@ -162,6 +162,7 @@ static const Os os_list[] = {
|
|||||||
OsZen,
|
OsZen,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
// Coordinate with zig_llvm.h
|
||||||
static const ZigLLVM_EnvironmentType environ_list[] = {
|
static const ZigLLVM_EnvironmentType environ_list[] = {
|
||||||
ZigLLVM_UnknownEnvironment,
|
ZigLLVM_UnknownEnvironment,
|
||||||
|
|
||||||
@ -182,7 +183,6 @@ static const ZigLLVM_EnvironmentType environ_list[] = {
|
|||||||
ZigLLVM_Itanium,
|
ZigLLVM_Itanium,
|
||||||
ZigLLVM_Cygnus,
|
ZigLLVM_Cygnus,
|
||||||
ZigLLVM_CoreCLR,
|
ZigLLVM_CoreCLR,
|
||||||
ZigLLVM_OpenCL,
|
|
||||||
ZigLLVM_Simulator,
|
ZigLLVM_Simulator,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -37,6 +37,7 @@
|
|||||||
#include <llvm/Transforms/IPO/PassManagerBuilder.h>
|
#include <llvm/Transforms/IPO/PassManagerBuilder.h>
|
||||||
#include <llvm/Transforms/IPO/AlwaysInliner.h>
|
#include <llvm/Transforms/IPO/AlwaysInliner.h>
|
||||||
#include <llvm/Transforms/Scalar.h>
|
#include <llvm/Transforms/Scalar.h>
|
||||||
|
#include <llvm/Transforms/Utils.h>
|
||||||
|
|
||||||
#include <lld/Common/Driver.h>
|
#include <lld/Common/Driver.h>
|
||||||
|
|
||||||
|
@ -376,7 +376,6 @@ enum ZigLLVM_EnvironmentType {
|
|||||||
ZigLLVM_Itanium,
|
ZigLLVM_Itanium,
|
||||||
ZigLLVM_Cygnus,
|
ZigLLVM_Cygnus,
|
||||||
ZigLLVM_CoreCLR,
|
ZigLLVM_CoreCLR,
|
||||||
ZigLLVM_OpenCL,
|
|
||||||
ZigLLVM_Simulator,
|
ZigLLVM_Simulator,
|
||||||
|
|
||||||
ZigLLVM_LastEnvironmentType = ZigLLVM_Simulator
|
ZigLLVM_LastEnvironmentType = ZigLLVM_Simulator
|
||||||
|
Loading…
Reference in New Issue
Block a user