[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/native-comp 51acfee 7/8: * Init gcc_jit_context_add_driver_optio
From: |
Andrea Corallo |
Subject: |
feature/native-comp 51acfee 7/8: * Init gcc_jit_context_add_driver_option as optional |
Date: |
Wed, 26 Aug 2020 15:49:59 -0400 (EDT) |
branch: feature/native-comp
commit 51acfeef6a5cf4dce2c80f56fbe0d8b0aa3d660c
Author: Andrea Corallo <akrl@sdf.org>
Commit: Andrea Corallo <akrl@sdf.org>
* Init gcc_jit_context_add_driver_option as optional
* src/comp.c (init_gccjit_functions): Use LOAD_DLL_FN_OPT to init
'gcc_jit_context_add_driver_option' as this is optional.
---
src/comp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/comp.c b/src/comp.c
index a553a4b..e6fa10c 100644
--- a/src/comp.c
+++ b/src/comp.c
@@ -259,7 +259,6 @@ init_gccjit_functions (void)
LOAD_DLL_FN (library, gcc_jit_block_end_with_return);
LOAD_DLL_FN (library, gcc_jit_block_end_with_void_return);
LOAD_DLL_FN (library, gcc_jit_context_acquire);
- LOAD_DLL_FN (library, gcc_jit_context_add_driver_option);
LOAD_DLL_FN (library, gcc_jit_context_compile_to_file);
LOAD_DLL_FN (library, gcc_jit_context_dump_reproducer_to_file);
LOAD_DLL_FN (library, gcc_jit_context_dump_to_file);
@@ -305,6 +304,7 @@ init_gccjit_functions (void)
LOAD_DLL_FN (library, gcc_jit_struct_as_type);
LOAD_DLL_FN (library, gcc_jit_struct_set_fields);
LOAD_DLL_FN (library, gcc_jit_type_get_pointer);
+ LOAD_DLL_FN_OPT (library, gcc_jit_context_add_driver_option);
LOAD_DLL_FN_OPT (library, gcc_jit_version_major);
LOAD_DLL_FN_OPT (library, gcc_jit_version_minor);
LOAD_DLL_FN_OPT (library, gcc_jit_version_patchlevel);
- feature/native-comp updated (337367a -> aa526c9), Andrea Corallo, 2020/08/26
- feature/native-comp c00aedb 2/8: Fix windows NT handling for [...]_add_driver_options, Andrea Corallo, 2020/08/26
- feature/native-comp 51acfee 7/8: * Init gcc_jit_context_add_driver_option as optional,
Andrea Corallo <=
- feature/native-comp 1f105d5 3/8: * Improve 'add_driver_options', Andrea Corallo, 2020/08/26
- feature/native-comp f8321f0 5/8: * src/comp.c (add_driver_options): Fix missing condition + clean-up pragma, Andrea Corallo, 2020/08/26
- feature/native-comp 2772e83 1/8: Set native driver options in async compiles, also, Andrea Corallo, 2020/08/26
- feature/native-comp c17013a 4/8: * Add 'comp-native-driver-options-available-p', Andrea Corallo, 2020/08/26
- feature/native-comp 63f041c 6/8: * Rename comp-native-driver-options-available-p, Andrea Corallo, 2020/08/26
- feature/native-comp aa526c9 8/8: Merge branch 'add_driver_option' into HEAD, Andrea Corallo, 2020/08/26