diff options
| author | antlilja <liljaanton2001@gmail.com> | 2024-09-01 14:21:19 +0200 |
|---|---|---|
| committer | antlilja <liljaanton2001@gmail.com> | 2024-09-01 14:21:19 +0200 |
| commit | 7cb87c14fe593b60b7034f12d2efd927309a0b96 (patch) | |
| tree | 41267b10130d57a697f8c6971d16d3af8d3b9cd1 /src/zig_llvm.cpp | |
| parent | 629bd90e267691acac7625771bb47de4298aa8aa (diff) | |
| download | zig-7cb87c14fe593b60b7034f12d2efd927309a0b96.tar.gz zig-7cb87c14fe593b60b7034f12d2efd927309a0b96.zip | |
LLVM: Remove cpp bindings for setPICLevel, setPIELevel and setCodeModel
Diffstat (limited to 'src/zig_llvm.cpp')
| -rw-r--r-- | src/zig_llvm.cpp | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/zig_llvm.cpp b/src/zig_llvm.cpp index dd0243b660..351b28df6b 100644 --- a/src/zig_llvm.cpp +++ b/src/zig_llvm.cpp @@ -435,20 +435,6 @@ void ZigLLVMParseCommandLineOptions(size_t argc, const char *const *argv) { cl::ParseCommandLineOptions(argc, argv); } -void ZigLLVMSetModulePICLevel(LLVMModuleRef module, bool big) { - unwrap(module)->setPICLevel(big ? PICLevel::Level::BigPIC : PICLevel::Level::SmallPIC); -} - -void ZigLLVMSetModulePIELevel(LLVMModuleRef module, bool large) { - unwrap(module)->setPIELevel(large ? PIELevel::Level::Large : PIELevel::Level::Small); -} - -void ZigLLVMSetModuleCodeModel(LLVMModuleRef module, LLVMCodeModel code_model) { - bool JIT; - unwrap(module)->setCodeModel(*unwrap(code_model, JIT)); - assert(!JIT); -} - bool ZigLLVMWriteImportLibrary(const char *def_path, const ZigLLVM_ArchType arch, const char *output_lib_path, bool kill_at) { |
