Home
last modified time | relevance | path

Searched refs:cc1_plugin (Results 1 – 25 of 38) sorted by relevance

12

/netbsd-src/external/gpl3/gcc/dist/libcc1/
H A Dmarshall.cc27 cc1_plugin::status
28 cc1_plugin::unmarshall_check (connection *conn, unsigned long long check) in unmarshall_check()
37 cc1_plugin::status
38 cc1_plugin::marshall_intlike (connection *conn, unsigned long long val) in marshall_intlike()
45 cc1_plugin::status
46 cc1_plugin::unmarshall_intlike (connection *conn, unsigned long long *result) in unmarshall_intlike()
53 cc1_plugin::status
54 cc1_plugin::marshall (connection *conn, const char *str) in marshall()
69 cc1_plugin::status
70 cc1_plugin::unmarshall (connection *conn, char **result) in unmarshall()
[all …]
H A Dlibcp1.cc42 struct libcp1 : public cc1_plugin::base_gdb_plugin<gcc_cp_context>
56 : cc1_plugin::base_gdb_plugin<gcc_cp_context> ("libcp1plugin", in libcp1()
74 cp_call_binding_oracle (cc1_plugin::connection *conn, in cp_call_binding_oracle()
87 cp_call_symbol_address (cc1_plugin::connection *conn, const char *identifier) in cp_call_symbol_address()
95 cp_call_enter_scope (cc1_plugin::connection *conn) in cp_call_enter_scope()
104 cp_call_leave_scope (cc1_plugin::connection *conn) in cp_call_leave_scope()
138 cc1_plugin::rpc<gcc_cp_context, R, cc1_plugin::cp::N>,
140 cc1_plugin::rpc<gcc_cp_context, R, cc1_plugin::cp::N, A>,
142 cc1_plugin::rpc<gcc_cp_context, R, cc1_plugin::cp::N, A, B>,
144 cc1_plugin::rpc<gcc_cp_context, R, cc1_plugin::cp::N, A, B, C>,
[all …]
H A Dlibcc1.cc43 struct libcc1 : public cc1_plugin::base_gdb_plugin<gcc_c_context>
55 : cc1_plugin::base_gdb_plugin<gcc_c_context> ("libcc1plugin", in libcc1()
73 c_call_binding_oracle (cc1_plugin::connection *conn, in c_call_binding_oracle()
86 c_call_symbol_address (cc1_plugin::connection *conn, const char *identifier) in c_call_symbol_address()
115 cc1_plugin::rpc<gcc_c_context, R, cc1_plugin::c::N>,
117 cc1_plugin::rpc<gcc_c_context, R, cc1_plugin::c::N, A>,
119 cc1_plugin::rpc<gcc_c_context, R, cc1_plugin::c::N, A, B>,
121 cc1_plugin::rpc<gcc_c_context, R, cc1_plugin::c::N, A, B, C>,
123 cc1_plugin::rpc<gcc_c_context, R, cc1_plugin::c::N, A, B, C, D>,
125 cc1_plugin::rpc<gcc_c_context, R, cc1_plugin::c::N, A, B, C, D, E>,
[all …]
H A Dlibcc1plugin.cc73 using namespace cc1_plugin;
116 cc1_plugin::call (current_context, "binding_oracle", &ignore, in plugin_binding_oracle()
152 if (!cc1_plugin::call (ctx, "address_oracle", &address, in address_rewriter()
206 plugin_build_decl (cc1_plugin::connection *self, in plugin_build_decl()
280 plugin_bind (cc1_plugin::connection *, in plugin_bind()
290 plugin_tagbind (cc1_plugin::connection *self, in plugin_tagbind()
308 plugin_build_pointer_type (cc1_plugin::connection *, in plugin_build_pointer_type()
328 plugin_build_record_type (cc1_plugin::connection *self) in plugin_build_record_type()
335 plugin_build_union_type (cc1_plugin::connection *self) in plugin_build_union_type()
342 plugin_build_add_field (cc1_plugin::connection *, in plugin_build_add_field()
[all …]
H A Dconnection.cc30 cc1_plugin::status
31 cc1_plugin::connection::send (char c) in send()
38 cc1_plugin::status
39 cc1_plugin::connection::send (const void *buf, int len) in send()
46 cc1_plugin::status
47 cc1_plugin::connection::require (char c) in require()
58 cc1_plugin::status
59 cc1_plugin::connection::get (void *buf, int len) in get()
66 cc1_plugin::status
67 cc1_plugin::connection::do_wait (bool want_result) in do_wait()
H A Dcontext.cc58 cc1_plugin::plugin_context *cc1_plugin::current_context;
79 cc1_plugin::plugin_context::get_location_t (const char *filename, in get_location_t()
94 cc1_plugin::plugin_context::intern_filename (const char *filename) in intern_filename()
108 cc1_plugin::plugin_context::mark () in mark()
127 if (cc1_plugin::current_context != NULL) in gc_mark()
128 cc1_plugin::current_context->mark (); in gc_mark()
132 cc1_plugin::generic_plugin_init (struct plugin_name_args *plugin_info, in generic_plugin_init()
158 cc1_plugin::protocol_int h_version; in generic_plugin_init()
160 || ! ::cc1_plugin::unmarshall (current_context, &h_version)) in generic_plugin_init()
H A Dnames.cc24 const char *cc1_plugin::LANG::N = # N;
26 const char *cc1_plugin::LANG::N = # N;
28 const char *cc1_plugin::LANG::N = # N;
30 const char *cc1_plugin::LANG::N = # N;
32 const char *cc1_plugin::LANG::N = # N;
34 const char *cc1_plugin::LANG::N = # N;
36 const char *cc1_plugin::LANG::N = # N;
H A Dcallbacks.cc30 cc1_plugin::callback_ftype *func;
52 cc1_plugin::callbacks::callbacks () in callbacks()
58 cc1_plugin::callbacks::~callbacks () in ~callbacks()
64 cc1_plugin::callbacks::add_callback (const char *name, in add_callback()
65 cc1_plugin::callback_ftype *func) in add_callback()
78 cc1_plugin::callback_ftype *
79 cc1_plugin::callbacks::find_callback (const char *name) in find_callback()
H A Dlibcp1plugin.cc75 using namespace cc1_plugin;
101 cc1_plugin::call (current_context, "binding_oracle", &ignore, in plugin_binding_oracle()
409 cc1_plugin::call (current_context, "enter_scope", &success); in plugin_pragma_push_user_expression()
502 cc1_plugin::call (current_context, "leave_scope", &success); in plugin_pragma_pop_user_expression()
568 if (!cc1_plugin::call (ctx, "address_oracle", &address, in address_rewriter()
664 plugin_push_namespace (cc1_plugin::connection *, in plugin_push_namespace()
676 plugin_push_class (cc1_plugin::connection *, in plugin_push_class()
689 plugin_push_function (cc1_plugin::connection *, in plugin_push_function()
702 plugin_pop_binding_level (cc1_plugin::connection *) in plugin_pop_binding_level()
709 plugin_reactivate_decl (cc1_plugin::connection *, in plugin_reactivate_decl()
[all …]
H A Dgdbctx.hh23 namespace cc1_plugin namespace
84 class local_connection : public cc1_plugin::connection
117 std::unique_ptr<cc1_plugin::compiler> compilerp;
164 (new cc1_plugin::compiler_triplet_regexp (self->verbose, in do_set_triplet_regexp()
176 (new cc1_plugin::compiler_driver_filename (self->verbose, in do_set_driver_filename()
245 cc1_plugin::status result = cc1_plugin::FAIL; in fork_exec()
247 && ::cc1_plugin::marshall (connection.get (), fe_version)) in fork_exec()
344 if (!cc1_plugin::call (self->connection.get (), NAME, &result, rest...)) in rpc()
H A Dcontext.hh29 namespace cc1_plugin namespace
76 struct plugin_context : public cc1_plugin::connection
79 : cc1_plugin::connection (fd), in plugin_context()
H A Dcompiler.cc65 cc1_plugin::compiler::find (const char *, std::string &) const in find()
71 cc1_plugin::compiler_triplet_regexp::find (const char *base, in find()
109 cc1_plugin::compiler_driver_filename::find (const char *, in find()
H A Dmarshall-cp.hh27 namespace cc1_plugin namespace
103 cc1_plugin::unique_ptr<gcc_vbase_array> gva (new gcc_vbase_array {}); in unmarshall()
166 cc1_plugin::unique_ptr<gcc_cp_template_args> gva in unmarshall()
227 cc1_plugin::unique_ptr<gcc_cp_function_args> gva in unmarshall()
H A Drpc.hh27 namespace cc1_plugin namespace
50 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
79 if (!::cc1_plugin::unmarshall (conn, &ptr)) in unmarshall()
H A DChangeLog61 (cc1_plugin::compiler_triplet_regexp::find): Update.
80 * connection.cc (cc1_plugin::connection::do_wait): Update.
195 (argument_wrapper<const T *>): Use cc1_plugin::unique_ptr.
196 * marshall.cc (cc1_plugin::unmarshall): Use
197 cc1_plugin::unique_ptr.
199 (unmarshall): Use cc1_plugin::unique_ptr.
236 * connection.cc (cc1_plugin::connection::~connection)
237 (cc1_plugin::connection::print): Remove definitions.
250 * marshall.hh (cc1_plugin::unmarshall): Use type traits.
251 * marshall-cp.hh (cc1_plugin::unmarshall): Remove overloads.
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/libcc1/
H A Dmarshall.cc26 cc1_plugin::status
27 cc1_plugin::unmarshall_check (connection *conn, unsigned long long check) in unmarshall_check()
36 cc1_plugin::status
37 cc1_plugin::marshall_intlike (connection *conn, unsigned long long val) in marshall_intlike()
44 cc1_plugin::status
45 cc1_plugin::unmarshall_intlike (connection *conn, unsigned long long *result) in unmarshall_intlike()
52 cc1_plugin::status
53 cc1_plugin::marshall (connection *conn, const char *str) in marshall()
68 cc1_plugin::status
69 cc1_plugin::unmarshall (connection *conn, char **result) in unmarshall()
[all …]
H A Dlibcc1plugin.cc166 struct plugin_context : public cc1_plugin::connection
225 : cc1_plugin::connection (fd), in plugin_context()
271 cc1_plugin::call (current_context, "binding_oracle", &ignore, in plugin_binding_oracle()
307 if (!cc1_plugin::call (ctx, "address_oracle", &address, in address_rewriter()
361 plugin_build_decl (cc1_plugin::connection *self, in plugin_build_decl()
435 plugin_bind (cc1_plugin::connection *, in plugin_bind()
445 plugin_tagbind (cc1_plugin::connection *self, in plugin_tagbind()
463 plugin_build_pointer_type (cc1_plugin::connection *, in plugin_build_pointer_type()
483 plugin_build_record_type (cc1_plugin::connection *self) in plugin_build_record_type()
490 plugin_build_union_type (cc1_plugin::connection *self) in plugin_build_union_type()
[all …]
H A Dconnection.cc30 cc1_plugin::connection::~connection () in ~connection()
35 cc1_plugin::connection::print (const char *) in print()
39 cc1_plugin::status
40 cc1_plugin::connection::send (char c) in send()
47 cc1_plugin::status
48 cc1_plugin::connection::send (const void *buf, int len) in send()
55 cc1_plugin::status
56 cc1_plugin::connection::require (char c) in require()
67 cc1_plugin::status
68 cc1_plugin::connection::get (void *buf, int len) in get()
[all …]
H A Dlibcp1.cc126 class libcp1_connection : public cc1_plugin::connection
178 cp_call_binding_oracle (cc1_plugin::connection *conn, in cp_call_binding_oracle()
191 cp_call_symbol_address (cc1_plugin::connection *conn, const char *identifier) in cp_call_symbol_address()
199 cp_call_enter_scope (cc1_plugin::connection *conn) in cp_call_enter_scope()
208 cp_call_leave_scope (cc1_plugin::connection *conn) in cp_call_leave_scope()
246 if (!cc1_plugin::call (self->connection, NAME, &result)) in rpc()
257 if (!cc1_plugin::call (self->connection, NAME, &result, arg)) in rpc()
268 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2)) in rpc()
279 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2, arg3)) in rpc()
291 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2, arg3, in rpc()
[all …]
H A Dlibcc1.cc124 class libcc1_connection : public cc1_plugin::connection
176 c_call_binding_oracle (cc1_plugin::connection *conn, in c_call_binding_oracle()
189 c_call_symbol_address (cc1_plugin::connection *conn, const char *identifier) in c_call_symbol_address()
222 if (!cc1_plugin::call (self->connection, NAME, &result)) in rpc()
233 if (!cc1_plugin::call (self->connection, NAME, &result, arg)) in rpc()
244 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2)) in rpc()
255 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2, arg3)) in rpc()
267 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2, arg3, in rpc()
280 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2, arg3, in rpc()
294 if (!cc1_plugin::call (self->connection, NAME, &result, arg1, arg2, arg3, in rpc()
[all …]
H A Dnames.cc24 const char *cc1_plugin::LANG::N = # N;
26 const char *cc1_plugin::LANG::N = # N;
28 const char *cc1_plugin::LANG::N = # N;
30 const char *cc1_plugin::LANG::N = # N;
32 const char *cc1_plugin::LANG::N = # N;
34 const char *cc1_plugin::LANG::N = # N;
36 const char *cc1_plugin::LANG::N = # N;
H A Dcallbacks.cc30 cc1_plugin::callback_ftype *func;
52 cc1_plugin::callbacks::callbacks () in callbacks()
58 cc1_plugin::callbacks::~callbacks () in ~callbacks()
64 cc1_plugin::callbacks::add_callback (const char *name, in add_callback()
65 cc1_plugin::callback_ftype *func) in add_callback()
78 cc1_plugin::callback_ftype *
79 cc1_plugin::callbacks::find_callback (const char *name) in find_callback()
H A Dlibcp1plugin.cc157 struct plugin_context : public cc1_plugin::connection
216 : cc1_plugin::connection (fd), in plugin_context()
256 cc1_plugin::call (current_context, "binding_oracle", &ignore, in plugin_binding_oracle()
565 cc1_plugin::call (current_context, "enter_scope", &success); in plugin_pragma_push_user_expression()
658 cc1_plugin::call (current_context, "leave_scope", &success); in plugin_pragma_pop_user_expression()
724 if (!cc1_plugin::call (ctx, "address_oracle", &address, in address_rewriter()
820 plugin_push_namespace (cc1_plugin::connection *, in plugin_push_namespace()
832 plugin_push_class (cc1_plugin::connection *, in plugin_push_class()
845 plugin_push_function (cc1_plugin::connection *, in plugin_push_function()
858 plugin_pop_binding_level (cc1_plugin::connection *) in plugin_pop_binding_level()
[all …]
H A Drpc.hh26 namespace cc1_plugin namespace
46 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
82 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
116 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
154 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
191 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
227 return ::cc1_plugin::unmarshall (conn, &m_object); in unmarshall()
H A Dstatus.hh23 namespace cc1_plugin namespace

12