You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rework debug information generation and add support for run-time debug information generation
Implement the GDB JIT compilation interface
Split off a shared debug information generator for use at image build-time and run-time
Rework debug entries
Parallelize debug information generation
Add LocalVariableTable to SubstrateMethod
Add tests for run-time debug information generation
Refactor and rework gdb-debughelpers
Make BFDNameProvider usable at image run-time
Update Line section to DWARF5, fix bug when loading debug info in recent GDB versions (>= GDB 16)
Add support for lazy deoptimization for frame unwinder and frame filter
Implement opaque type resolution for runtime debug information in GDB
Updates to CV debug information to be compatible with reworked debug information generation
* Copyright (c) 2024, 2025, Oracle and/or its affiliates. All rights reserved.
3
+
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
+
*
5
+
* This code is free software; you can redistribute it and/or modify it
6
+
* under the terms of the GNU General Public License version 2 only, as
7
+
* published by the Free Software Foundation. Oracle designates this
8
+
* particular file as subject to the "Classpath" exception as provided
9
+
* by Oracle in the LICENSE file that accompanied this code.
10
+
*
11
+
* This code is distributed in the hope that it will be useful, but WITHOUT
12
+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
13
+
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14
+
* version 2 for more details (a copy is included in the LICENSE file that
15
+
* accompanied this code).
16
+
*
17
+
* You should have received a copy of the GNU General Public License version
18
+
* 2 along with this work; if not, write to the Free Software Foundation,
19
+
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
20
+
*
21
+
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
22
+
* or visit www.oracle.com if you need additional information or have any
23
+
* questions.
24
+
*/
25
+
26
+
#ifndefSVM_NATIVE_GDBJITCOMPILATIONINTERFACE_H
27
+
#defineSVM_NATIVE_GDBJITCOMPILATIONINTERFACE_H
28
+
29
+
// This header specifies the types used by the GDB JIT compilation interface (see https://sourceware.org/gdb/current/onlinedocs/gdb.html/Declarations.html#Declarations)
30
+
// The implementation of the JIT compilation interface is located in com.oracle.svm.core.debug.GdbJitInterface.
31
+
32
+
#include<stdint.h>
33
+
34
+
typedefenum
35
+
{
36
+
JIT_NOACTION=0,
37
+
JIT_REGISTER,
38
+
JIT_UNREGISTER
39
+
} jit_actions_t;
40
+
41
+
structjit_code_entry
42
+
{
43
+
structjit_code_entry*next_entry;
44
+
structjit_code_entry*prev_entry;
45
+
constchar*symfile_addr;
46
+
uint64_tsymfile_size;
47
+
};
48
+
49
+
structjit_descriptor
50
+
{
51
+
uint32_tversion;
52
+
/* This type should be jit_actions_t, but we use uint32_t
parser.add_argument(all_args[0], metavar='<output-path>', nargs=1, help='Path of the generated image', default=[join(svmbuild_dir(), "runtimedebuginfotest")])
1855
+
parser.add_argument(all_args[1], action='store_true', help='Only build and test the native image with isolates')
0 commit comments