annotate gcc/jit/jit-result.h @ 158:494b0b89df80 default tip

...
author Shinji KONO <kono@ie.u-ryukyu.ac.jp>
date Mon, 25 May 2020 18:13:55 +0900
parents 1830386684a0
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Internals of libgccjit: implementation of gcc_jit_result
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 131
diff changeset
2 Copyright (C) 2013-2020 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
3 Contributed by David Malcolm <dmalcolm@redhat.com>.
kono
parents:
diff changeset
4
kono
parents:
diff changeset
5 This file is part of GCC.
kono
parents:
diff changeset
6
kono
parents:
diff changeset
7 GCC is free software; you can redistribute it and/or modify it
kono
parents:
diff changeset
8 under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
9 the Free Software Foundation; either version 3, or (at your option)
kono
parents:
diff changeset
10 any later version.
kono
parents:
diff changeset
11
kono
parents:
diff changeset
12 GCC is distributed in the hope that it will be useful, but
kono
parents:
diff changeset
13 WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
kono
parents:
diff changeset
15 General Public License for more details.
kono
parents:
diff changeset
16
kono
parents:
diff changeset
17 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
18 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
19 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
20
kono
parents:
diff changeset
21 #ifndef JIT_RESULT_H
kono
parents:
diff changeset
22 #define JIT_RESULT_H
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24 namespace gcc {
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 namespace jit {
kono
parents:
diff changeset
27
kono
parents:
diff changeset
28 /* The result of JIT-compilation. */
kono
parents:
diff changeset
29 class result : public log_user
kono
parents:
diff changeset
30 {
kono
parents:
diff changeset
31 public:
kono
parents:
diff changeset
32 result(logger *logger, void *dso_handle, tempdir *tempdir_);
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 virtual ~result();
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 void *
kono
parents:
diff changeset
37 get_code (const char *funcname);
kono
parents:
diff changeset
38
kono
parents:
diff changeset
39 void *
kono
parents:
diff changeset
40 get_global (const char *name);
kono
parents:
diff changeset
41
kono
parents:
diff changeset
42 private:
kono
parents:
diff changeset
43 void *m_dso_handle;
kono
parents:
diff changeset
44 tempdir *m_tempdir;
kono
parents:
diff changeset
45 };
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 } // namespace gcc::jit
kono
parents:
diff changeset
48
kono
parents:
diff changeset
49 } // namespace gcc
kono
parents:
diff changeset
50
kono
parents:
diff changeset
51 #endif /* JIT_RESULT_H */