lldb 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (66) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -4
  3. data/README.md +86 -2
  4. data/Rakefile +36 -0
  5. data/bindings/constants.yml +137 -0
  6. data/bindings/surface.yml +3072 -0
  7. data/ext/lldb/discovery.rb +101 -0
  8. data/ext/lldb/extconf.rb +206 -88
  9. data/ext/lldb/lldb_wrapper.cpp +7934 -877
  10. data/ext/lldb/lldb_wrapper.h +596 -333
  11. data/lib/lldb/address.rb +81 -0
  12. data/lib/lldb/api_support.rb +23 -6
  13. data/lib/lldb/attach_info.rb +122 -0
  14. data/lib/lldb/block.rb +121 -0
  15. data/lib/lldb/breakpoint.rb +11 -6
  16. data/lib/lldb/breakpoint_location.rb +20 -5
  17. data/lib/lldb/broadcaster.rb +79 -0
  18. data/lib/lldb/command_interpreter.rb +9 -4
  19. data/lib/lldb/command_return_object.rb +24 -5
  20. data/lib/lldb/compile_unit.rb +64 -0
  21. data/lib/lldb/context.rb +81 -0
  22. data/lib/lldb/debugger.rb +55 -12
  23. data/lib/lldb/error.rb +50 -3
  24. data/lib/lldb/event.rb +109 -0
  25. data/lib/lldb/expression_options.rb +124 -0
  26. data/lib/lldb/ffi_bindings.rb +313 -31
  27. data/lib/lldb/file_spec.rb +90 -0
  28. data/lib/lldb/file_spec_list.rb +78 -0
  29. data/lib/lldb/frame.rb +109 -17
  30. data/lib/lldb/function.rb +121 -0
  31. data/lib/lldb/instruction.rb +83 -0
  32. data/lib/lldb/instruction_list.rb +68 -0
  33. data/lib/lldb/launch_info.rb +145 -19
  34. data/lib/lldb/line_entry.rb +75 -0
  35. data/lib/lldb/listener.rb +96 -0
  36. data/lib/lldb/memory_region_info.rb +8 -3
  37. data/lib/lldb/module.rb +46 -5
  38. data/lib/lldb/native.rb +36 -0
  39. data/lib/lldb/native_buffer.rb +32 -0
  40. data/lib/lldb/native_handle.rb +60 -0
  41. data/lib/lldb/native_lifecycle.rb +64 -0
  42. data/lib/lldb/native_string_array.rb +34 -0
  43. data/lib/lldb/process.rb +102 -40
  44. data/lib/lldb/symbol.rb +117 -0
  45. data/lib/lldb/symbol_context.rb +9 -4
  46. data/lib/lldb/target.rb +69 -67
  47. data/lib/lldb/thread.rb +51 -18
  48. data/lib/lldb/type.rb +40 -3
  49. data/lib/lldb/type_member.rb +67 -0
  50. data/lib/lldb/types.rb +69 -4
  51. data/lib/lldb/value.rb +27 -17
  52. data/lib/lldb/value_list.rb +9 -5
  53. data/lib/lldb/version.rb +1 -1
  54. data/lib/lldb/watchpoint.rb +26 -9
  55. data/lib/lldb.rb +78 -10
  56. data/lldb.gemspec +4 -1
  57. data/rbs_collection.yaml +1 -1
  58. data/script/check_bindings +259 -0
  59. data/script/guard_c_exports +139 -0
  60. data/sig/lldb/ffi_bindings.rbs +247 -21
  61. data/sig/lldb/weak_ref.rbs +7 -0
  62. metadata +30 -6
  63. data/ext/lldb/Makefile +0 -24
  64. data/ext/lldb/liblldb_wrapper.dylib +0 -0
  65. data/ext/lldb/lldb_wrapper.o +0 -0
  66. data/ext/lldb/mkmf.log +0 -24
@@ -1,6 +1,12 @@
1
1
  #ifndef LLDB_WRAPPER_H
2
2
  #define LLDB_WRAPPER_H
3
3
 
4
+ #ifdef __cplusplus
5
+ #define LLDB_WRAPPER_NOEXCEPT noexcept
6
+ #else
7
+ #define LLDB_WRAPPER_NOEXCEPT
8
+ #endif
9
+
4
10
  #ifdef __cplusplus
5
11
  extern "C" {
6
12
  #endif
@@ -23,411 +29,668 @@ typedef void* lldb_module_t;
23
29
  typedef void* lldb_symbol_context_t;
24
30
  typedef void* lldb_launch_info_t;
25
31
  typedef void* lldb_type_t;
32
+ typedef void* lldb_type_member_t;
33
+ typedef void* lldb_symbol_t;
34
+ typedef void* lldb_function_t;
35
+ typedef void* lldb_compile_unit_t;
36
+ typedef void* lldb_block_t;
37
+ typedef void* lldb_instruction_list_t;
38
+ typedef void* lldb_instruction_t;
26
39
  typedef void* lldb_watchpoint_t;
27
40
  typedef void* lldb_command_interpreter_t;
28
41
  typedef void* lldb_command_return_object_t;
29
42
  typedef void* lldb_memory_region_info_t;
43
+ typedef void* lldb_file_spec_t;
44
+ typedef void* lldb_broadcaster_t;
45
+ typedef void* lldb_listener_t;
46
+ typedef void* lldb_event_t;
47
+ typedef void* lldb_attach_info_t;
48
+ typedef void* lldb_expression_options_t;
49
+ typedef void* lldb_address_t;
50
+ typedef void* lldb_line_entry_t;
51
+ typedef void* lldb_file_spec_list_t;
52
+
53
+ typedef enum {
54
+ LLDB_RUBY_STATUS_OK = 0,
55
+ LLDB_RUBY_STATUS_INVALID_ARGUMENT = 1,
56
+ LLDB_RUBY_STATUS_INVALID_HANDLE = 2,
57
+ LLDB_RUBY_STATUS_UNSUPPORTED = 3,
58
+ LLDB_RUBY_STATUS_LLDB_ERROR = 4,
59
+ LLDB_RUBY_STATUS_INTERNAL_ERROR = 5
60
+ } lldb_ruby_status_t;
61
+
62
+ typedef enum {
63
+ LLDB_RUBY_CAPABILITY_WATCHPOINT_ACCESS_KIND = 1
64
+ } lldb_ruby_capability_t;
65
+
66
+ // Wrapper metadata and capability discovery
67
+ uint32_t lldb_wrapper_abi_version(void) LLDB_WRAPPER_NOEXCEPT;
68
+ const char* lldb_wrapper_build_lldb_version(void) LLDB_WRAPPER_NOEXCEPT;
69
+ const char* lldb_wrapper_runtime_lldb_version(void) LLDB_WRAPPER_NOEXCEPT;
70
+ int lldb_wrapper_has_capability(uint32_t capability) LLDB_WRAPPER_NOEXCEPT;
71
+ const char* lldb_wrapper_last_error_message(void) LLDB_WRAPPER_NOEXCEPT;
72
+ int lldb_wrapper_last_error_code(void) LLDB_WRAPPER_NOEXCEPT;
73
+ void lldb_wrapper_clear_last_error(void) LLDB_WRAPPER_NOEXCEPT;
30
74
 
31
75
  // Initialization
32
- void lldb_initialize(void);
33
- void lldb_terminate(void);
76
+ lldb_ruby_status_t lldb_initialize(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
77
+ void lldb_terminate(void) LLDB_WRAPPER_NOEXCEPT;
34
78
 
35
79
  // SBDebugger
36
- lldb_debugger_t lldb_debugger_create(void);
37
- void lldb_debugger_destroy(lldb_debugger_t dbg);
38
- int lldb_debugger_is_valid(lldb_debugger_t dbg);
80
+ lldb_debugger_t lldb_debugger_create(void) LLDB_WRAPPER_NOEXCEPT;
81
+ lldb_debugger_t lldb_debugger_create_with_source_init_files(int source_init_files) LLDB_WRAPPER_NOEXCEPT;
82
+ void lldb_debugger_destroy(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
83
+ int lldb_debugger_is_valid(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
39
84
  lldb_target_t lldb_debugger_create_target(lldb_debugger_t dbg,
40
85
  const char* filename,
41
86
  const char* arch,
42
87
  const char* platform,
43
88
  int add_dependent_modules,
44
- lldb_error_t error);
89
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
45
90
  lldb_target_t lldb_debugger_create_target_simple(lldb_debugger_t dbg,
46
- const char* filename);
47
- uint32_t lldb_debugger_get_num_targets(lldb_debugger_t dbg);
48
- lldb_target_t lldb_debugger_get_target_at_index(lldb_debugger_t dbg, uint32_t index);
49
- lldb_target_t lldb_debugger_get_selected_target(lldb_debugger_t dbg);
50
- void lldb_debugger_set_selected_target(lldb_debugger_t dbg, lldb_target_t target);
51
- int lldb_debugger_delete_target(lldb_debugger_t dbg, lldb_target_t target);
52
- lldb_target_t lldb_debugger_find_target_with_process_id(lldb_debugger_t dbg, uint64_t pid);
53
- void lldb_debugger_set_async(lldb_debugger_t dbg, int async);
54
- int lldb_debugger_get_async(lldb_debugger_t dbg);
55
- const char* lldb_debugger_get_version_string(void);
56
- lldb_command_interpreter_t lldb_debugger_get_command_interpreter(lldb_debugger_t dbg);
57
- void lldb_debugger_handle_command(lldb_debugger_t dbg, const char* command);
91
+ const char* filename) LLDB_WRAPPER_NOEXCEPT;
92
+ uint32_t lldb_debugger_get_num_targets(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
93
+ lldb_target_t lldb_debugger_get_target_at_index(lldb_debugger_t dbg, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
94
+ lldb_target_t lldb_debugger_get_selected_target(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
95
+ void lldb_debugger_set_selected_target(lldb_debugger_t dbg, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
96
+ int lldb_debugger_delete_target(lldb_debugger_t dbg, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
97
+ lldb_target_t lldb_debugger_find_target_with_process_id(lldb_debugger_t dbg, uint64_t pid) LLDB_WRAPPER_NOEXCEPT;
98
+ void lldb_debugger_set_async(lldb_debugger_t dbg, int async) LLDB_WRAPPER_NOEXCEPT;
99
+ int lldb_debugger_get_async(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
100
+ const char* lldb_debugger_get_version_string(void) LLDB_WRAPPER_NOEXCEPT;
101
+ lldb_command_interpreter_t lldb_debugger_get_command_interpreter(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
102
+ lldb_broadcaster_t lldb_debugger_get_broadcaster(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
103
+ lldb_listener_t lldb_debugger_get_listener(lldb_debugger_t dbg) LLDB_WRAPPER_NOEXCEPT;
104
+ void lldb_debugger_handle_command(lldb_debugger_t dbg, const char* command) LLDB_WRAPPER_NOEXCEPT;
105
+
106
+ // SBBroadcaster
107
+ lldb_broadcaster_t lldb_broadcaster_create(const char* name) LLDB_WRAPPER_NOEXCEPT;
108
+ void lldb_broadcaster_destroy(lldb_broadcaster_t broadcaster) LLDB_WRAPPER_NOEXCEPT;
109
+ int lldb_broadcaster_is_valid(lldb_broadcaster_t broadcaster) LLDB_WRAPPER_NOEXCEPT;
110
+ const char* lldb_broadcaster_get_name(lldb_broadcaster_t broadcaster) LLDB_WRAPPER_NOEXCEPT;
111
+ uint32_t lldb_broadcaster_add_listener(lldb_broadcaster_t broadcaster,
112
+ lldb_listener_t listener,
113
+ uint32_t event_mask) LLDB_WRAPPER_NOEXCEPT;
114
+ int lldb_broadcaster_remove_listener(lldb_broadcaster_t broadcaster,
115
+ lldb_listener_t listener,
116
+ uint32_t event_mask) LLDB_WRAPPER_NOEXCEPT;
117
+ int lldb_broadcaster_event_type_has_listeners(lldb_broadcaster_t broadcaster,
118
+ uint32_t event_type) LLDB_WRAPPER_NOEXCEPT;
119
+ void lldb_broadcaster_broadcast_event_by_type(lldb_broadcaster_t broadcaster,
120
+ uint32_t event_type,
121
+ int unique) LLDB_WRAPPER_NOEXCEPT;
122
+
123
+ // SBListener
124
+ lldb_listener_t lldb_listener_create(const char* name) LLDB_WRAPPER_NOEXCEPT;
125
+ void lldb_listener_destroy(lldb_listener_t listener) LLDB_WRAPPER_NOEXCEPT;
126
+ int lldb_listener_is_valid(lldb_listener_t listener) LLDB_WRAPPER_NOEXCEPT;
127
+ uint32_t lldb_listener_start_listening_for_events(lldb_listener_t listener,
128
+ lldb_broadcaster_t broadcaster,
129
+ uint32_t event_mask) LLDB_WRAPPER_NOEXCEPT;
130
+ int lldb_listener_stop_listening_for_events(lldb_listener_t listener,
131
+ lldb_broadcaster_t broadcaster,
132
+ uint32_t event_mask) LLDB_WRAPPER_NOEXCEPT;
133
+ lldb_event_t lldb_listener_wait_for_event(lldb_listener_t listener,
134
+ uint32_t timeout_seconds) LLDB_WRAPPER_NOEXCEPT;
135
+ lldb_event_t lldb_listener_peek_event(lldb_listener_t listener) LLDB_WRAPPER_NOEXCEPT;
136
+ lldb_event_t lldb_listener_next_event(lldb_listener_t listener) LLDB_WRAPPER_NOEXCEPT;
137
+
138
+ // SBEvent
139
+ void lldb_event_destroy(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
140
+ int lldb_event_is_valid(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
141
+ uint32_t lldb_event_get_type(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
142
+ const char* lldb_event_get_data_flavor(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
143
+ const char* lldb_event_get_broadcaster_class(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
144
+ uint32_t lldb_event_get_description(lldb_event_t event, char* buffer, size_t length) LLDB_WRAPPER_NOEXCEPT;
145
+ lldb_broadcaster_t lldb_event_get_broadcaster(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
146
+ int lldb_event_is_process_event(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
147
+ int lldb_event_get_process_state(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
148
+ int lldb_event_get_restarted(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
149
+ int lldb_event_get_interrupted(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
150
+ lldb_process_t lldb_event_get_process(lldb_event_t event) LLDB_WRAPPER_NOEXCEPT;
58
151
 
59
152
  // SBTarget
60
- void lldb_target_destroy(lldb_target_t target);
61
- int lldb_target_is_valid(lldb_target_t target);
153
+ void lldb_target_destroy(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
154
+ int lldb_target_is_valid(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
62
155
  lldb_process_t lldb_target_launch_simple(lldb_target_t target,
63
156
  const char** argv,
64
157
  const char** envp,
65
- const char* working_dir);
158
+ const char* working_dir) LLDB_WRAPPER_NOEXCEPT;
66
159
  lldb_process_t lldb_target_launch(lldb_target_t target,
67
160
  lldb_launch_info_t launch_info,
68
- lldb_error_t error);
161
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
69
162
  lldb_process_t lldb_target_attach_to_process_with_id(lldb_target_t target,
70
163
  uint64_t pid,
71
- lldb_error_t error);
164
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
72
165
  lldb_process_t lldb_target_attach_to_process_with_name(lldb_target_t target,
73
166
  const char* name,
74
167
  int wait_for,
75
- lldb_error_t error);
168
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
169
+ lldb_process_t lldb_target_attach_with_info(lldb_target_t target,
170
+ lldb_attach_info_t attach_info,
171
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
76
172
  lldb_breakpoint_t lldb_target_breakpoint_create_by_name(lldb_target_t target,
77
173
  const char* symbol_name,
78
- const char* module_name);
174
+ const char* module_name) LLDB_WRAPPER_NOEXCEPT;
79
175
  lldb_breakpoint_t lldb_target_breakpoint_create_by_location(lldb_target_t target,
80
176
  const char* file,
81
- uint32_t line);
177
+ uint32_t line) LLDB_WRAPPER_NOEXCEPT;
82
178
  lldb_breakpoint_t lldb_target_breakpoint_create_by_address(lldb_target_t target,
83
- uint64_t address);
179
+ uint64_t address) LLDB_WRAPPER_NOEXCEPT;
84
180
  lldb_breakpoint_t lldb_target_breakpoint_create_by_regex(lldb_target_t target,
85
181
  const char* symbol_regex,
86
- const char* module_name);
182
+ const char* module_name) LLDB_WRAPPER_NOEXCEPT;
87
183
  lldb_breakpoint_t lldb_target_breakpoint_create_by_source_regex(lldb_target_t target,
88
184
  const char* source_regex,
89
- const char* source_file);
90
- int lldb_target_delete_breakpoint(lldb_target_t target, int32_t breakpoint_id);
91
- int lldb_target_delete_all_breakpoints(lldb_target_t target);
92
- int lldb_target_enable_all_breakpoints(lldb_target_t target);
93
- int lldb_target_disable_all_breakpoints(lldb_target_t target);
94
- lldb_breakpoint_t lldb_target_find_breakpoint_by_id(lldb_target_t target, int32_t id);
95
- uint32_t lldb_target_get_num_breakpoints(lldb_target_t target);
96
- lldb_breakpoint_t lldb_target_get_breakpoint_at_index(lldb_target_t target, uint32_t index);
97
- lldb_process_t lldb_target_get_process(lldb_target_t target);
98
- const char* lldb_target_get_executable_path(lldb_target_t target);
99
- uint32_t lldb_target_get_num_modules(lldb_target_t target);
100
- lldb_module_t lldb_target_get_module_at_index(lldb_target_t target, uint32_t index);
101
- lldb_value_t lldb_target_evaluate_expression(lldb_target_t target, const char* expr);
102
- size_t lldb_target_read_memory(lldb_target_t target, uint64_t addr, void* buf, size_t size, lldb_error_t error);
103
- uint32_t lldb_target_get_address_byte_size(lldb_target_t target);
104
- const char* lldb_target_get_triple(lldb_target_t target);
105
- lldb_watchpoint_t lldb_target_watch_address(lldb_target_t target, uint64_t addr, size_t size, int read, int write, lldb_error_t error);
106
- int lldb_target_delete_watchpoint(lldb_target_t target, int32_t watchpoint_id);
107
- int lldb_target_delete_all_watchpoints(lldb_target_t target);
108
- lldb_watchpoint_t lldb_target_find_watchpoint_by_id(lldb_target_t target, int32_t id);
109
- uint32_t lldb_target_get_num_watchpoints(lldb_target_t target);
110
- lldb_watchpoint_t lldb_target_get_watchpoint_at_index(lldb_target_t target, uint32_t index);
185
+ const char* source_file) LLDB_WRAPPER_NOEXCEPT;
186
+ int lldb_target_delete_breakpoint(lldb_target_t target, int32_t breakpoint_id) LLDB_WRAPPER_NOEXCEPT;
187
+ int lldb_target_delete_all_breakpoints(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
188
+ int lldb_target_enable_all_breakpoints(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
189
+ int lldb_target_disable_all_breakpoints(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
190
+ lldb_breakpoint_t lldb_target_find_breakpoint_by_id(lldb_target_t target, int32_t id) LLDB_WRAPPER_NOEXCEPT;
191
+ uint32_t lldb_target_get_num_breakpoints(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
192
+ lldb_breakpoint_t lldb_target_get_breakpoint_at_index(lldb_target_t target, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
193
+ lldb_process_t lldb_target_get_process(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
194
+ const char* lldb_target_get_executable_path(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
195
+ lldb_file_spec_t lldb_target_get_executable_file(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
196
+ uint32_t lldb_target_get_num_modules(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
197
+ lldb_module_t lldb_target_get_module_at_index(lldb_target_t target, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
198
+ lldb_value_t lldb_target_evaluate_expression(lldb_target_t target, const char* expr) LLDB_WRAPPER_NOEXCEPT;
199
+ lldb_value_t lldb_target_evaluate_expression_with_options(lldb_target_t target,
200
+ const char* expr,
201
+ lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
202
+ size_t lldb_target_read_memory(lldb_target_t target, uint64_t addr, void* buf, size_t size, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
203
+ uint32_t lldb_target_get_address_byte_size(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
204
+ const char* lldb_target_get_triple(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
205
+ lldb_watchpoint_t lldb_target_watch_address(lldb_target_t target, uint64_t addr, size_t size, int read, int write, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
206
+ int lldb_target_delete_watchpoint(lldb_target_t target, int32_t watchpoint_id) LLDB_WRAPPER_NOEXCEPT;
207
+ int lldb_target_delete_all_watchpoints(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
208
+ lldb_watchpoint_t lldb_target_find_watchpoint_by_id(lldb_target_t target, int32_t id) LLDB_WRAPPER_NOEXCEPT;
209
+ uint32_t lldb_target_get_num_watchpoints(lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
210
+ lldb_watchpoint_t lldb_target_get_watchpoint_at_index(lldb_target_t target, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
111
211
 
112
212
  // SBLaunchInfo
113
- lldb_launch_info_t lldb_launch_info_create(const char** argv);
114
- void lldb_launch_info_destroy(lldb_launch_info_t info);
115
- void lldb_launch_info_set_working_directory(lldb_launch_info_t info, const char* dir);
213
+ lldb_launch_info_t lldb_launch_info_create(const char** argv) LLDB_WRAPPER_NOEXCEPT;
214
+ void lldb_launch_info_destroy(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
215
+ uint32_t lldb_launch_info_get_num_arguments(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
216
+ const char* lldb_launch_info_get_argument_at_index(lldb_launch_info_t info, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
217
+ void lldb_launch_info_set_working_directory(lldb_launch_info_t info, const char* dir) LLDB_WRAPPER_NOEXCEPT;
218
+ const char* lldb_launch_info_get_working_directory(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
116
219
  void lldb_launch_info_set_environment_entries(lldb_launch_info_t info,
117
220
  const char** envp,
118
- int append);
119
- uint32_t lldb_launch_info_get_launch_flags(lldb_launch_info_t info);
120
- void lldb_launch_info_set_launch_flags(lldb_launch_info_t info, uint32_t flags);
221
+ int append) LLDB_WRAPPER_NOEXCEPT;
222
+ uint32_t lldb_launch_info_get_num_environment_entries(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
223
+ const char* lldb_launch_info_get_environment_entry_at_index(lldb_launch_info_t info,
224
+ uint32_t index) LLDB_WRAPPER_NOEXCEPT;
225
+ uint32_t lldb_launch_info_get_launch_flags(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
226
+ void lldb_launch_info_set_launch_flags(lldb_launch_info_t info, uint32_t flags) LLDB_WRAPPER_NOEXCEPT;
227
+ void lldb_launch_info_set_arguments(lldb_launch_info_t info, const char** argv, int append) LLDB_WRAPPER_NOEXCEPT;
228
+ lldb_file_spec_t lldb_launch_info_get_executable_file(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
229
+ void lldb_launch_info_set_executable_file(lldb_launch_info_t info,
230
+ lldb_file_spec_t file_spec,
231
+ int add_as_first_arg) LLDB_WRAPPER_NOEXCEPT;
232
+ lldb_listener_t lldb_launch_info_get_listener(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
233
+ void lldb_launch_info_set_listener(lldb_launch_info_t info, lldb_listener_t listener) LLDB_WRAPPER_NOEXCEPT;
234
+ const char* lldb_launch_info_get_process_plugin_name(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
235
+ void lldb_launch_info_set_process_plugin_name(lldb_launch_info_t info, const char* name) LLDB_WRAPPER_NOEXCEPT;
236
+ const char* lldb_launch_info_get_shell(lldb_launch_info_t info) LLDB_WRAPPER_NOEXCEPT;
237
+ void lldb_launch_info_set_shell(lldb_launch_info_t info, const char* path) LLDB_WRAPPER_NOEXCEPT;
238
+ int lldb_launch_info_add_close_file_action(lldb_launch_info_t info, int fd) LLDB_WRAPPER_NOEXCEPT;
239
+ int lldb_launch_info_add_duplicate_file_action(lldb_launch_info_t info, int fd, int dup_fd) LLDB_WRAPPER_NOEXCEPT;
240
+ int lldb_launch_info_add_open_file_action(lldb_launch_info_t info,
241
+ int fd,
242
+ const char* path,
243
+ int read,
244
+ int write) LLDB_WRAPPER_NOEXCEPT;
245
+ int lldb_launch_info_add_suppress_file_action(lldb_launch_info_t info,
246
+ int fd,
247
+ int read,
248
+ int write) LLDB_WRAPPER_NOEXCEPT;
249
+
250
+ // SBAttachInfo
251
+ lldb_attach_info_t lldb_attach_info_create(uint64_t pid) LLDB_WRAPPER_NOEXCEPT;
252
+ void lldb_attach_info_destroy(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
253
+ uint64_t lldb_attach_info_get_process_id(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
254
+ void lldb_attach_info_set_process_id(lldb_attach_info_t info, uint64_t pid) LLDB_WRAPPER_NOEXCEPT;
255
+ void lldb_attach_info_set_executable(lldb_attach_info_t info, const char* path) LLDB_WRAPPER_NOEXCEPT;
256
+ void lldb_attach_info_set_executable_file(lldb_attach_info_t info, lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
257
+ int lldb_attach_info_get_wait_for_launch(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
258
+ void lldb_attach_info_set_wait_for_launch(lldb_attach_info_t info, int wait_for) LLDB_WRAPPER_NOEXCEPT;
259
+ int lldb_attach_info_get_ignore_existing(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
260
+ void lldb_attach_info_set_ignore_existing(lldb_attach_info_t info, int ignore_existing) LLDB_WRAPPER_NOEXCEPT;
261
+ uint32_t lldb_attach_info_get_resume_count(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
262
+ void lldb_attach_info_set_resume_count(lldb_attach_info_t info, uint32_t count) LLDB_WRAPPER_NOEXCEPT;
263
+ const char* lldb_attach_info_get_process_plugin_name(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
264
+ void lldb_attach_info_set_process_plugin_name(lldb_attach_info_t info, const char* name) LLDB_WRAPPER_NOEXCEPT;
265
+ lldb_listener_t lldb_attach_info_get_listener(lldb_attach_info_t info) LLDB_WRAPPER_NOEXCEPT;
266
+ void lldb_attach_info_set_listener(lldb_attach_info_t info, lldb_listener_t listener) LLDB_WRAPPER_NOEXCEPT;
267
+
268
+ // SBExpressionOptions
269
+ lldb_expression_options_t lldb_expression_options_create(void) LLDB_WRAPPER_NOEXCEPT;
270
+ void lldb_expression_options_destroy(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
271
+ uint32_t lldb_expression_options_get_timeout(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
272
+ void lldb_expression_options_set_timeout(lldb_expression_options_t options, uint32_t timeout) LLDB_WRAPPER_NOEXCEPT;
273
+ int lldb_expression_options_get_unwind_on_error(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
274
+ void lldb_expression_options_set_unwind_on_error(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
275
+ int lldb_expression_options_get_ignore_breakpoints(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
276
+ void lldb_expression_options_set_ignore_breakpoints(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
277
+ int lldb_expression_options_get_fetch_dynamic_value(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
278
+ void lldb_expression_options_set_fetch_dynamic_value(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
279
+ int lldb_expression_options_get_try_all_threads(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
280
+ void lldb_expression_options_set_try_all_threads(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
281
+ int lldb_expression_options_get_stop_others(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
282
+ void lldb_expression_options_set_stop_others(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
283
+ void lldb_expression_options_set_language(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
284
+ int lldb_expression_options_get_suppress_persistent_result(lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
285
+ void lldb_expression_options_set_suppress_persistent_result(lldb_expression_options_t options, int value) LLDB_WRAPPER_NOEXCEPT;
286
+
287
+ // SBFileSpec
288
+ lldb_file_spec_t lldb_file_spec_create(const char* path, int resolve) LLDB_WRAPPER_NOEXCEPT;
289
+ void lldb_file_spec_destroy(lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
290
+ int lldb_file_spec_is_valid(lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
291
+ int lldb_file_spec_exists(lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
292
+ const char* lldb_file_spec_get_filename(lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
293
+ const char* lldb_file_spec_get_directory(lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
294
+ uint32_t lldb_file_spec_get_path(lldb_file_spec_t file_spec, char* buffer, size_t length) LLDB_WRAPPER_NOEXCEPT;
295
+ void lldb_file_spec_set_filename(lldb_file_spec_t file_spec, const char* filename) LLDB_WRAPPER_NOEXCEPT;
296
+ void lldb_file_spec_set_directory(lldb_file_spec_t file_spec, const char* directory) LLDB_WRAPPER_NOEXCEPT;
297
+
298
+ // SBFileSpecList
299
+ lldb_file_spec_list_t lldb_file_spec_list_create(void) LLDB_WRAPPER_NOEXCEPT;
300
+ void lldb_file_spec_list_destroy(lldb_file_spec_list_t list) LLDB_WRAPPER_NOEXCEPT;
301
+ int lldb_file_spec_list_is_valid(lldb_file_spec_list_t list) LLDB_WRAPPER_NOEXCEPT;
302
+ uint32_t lldb_file_spec_list_get_size(lldb_file_spec_list_t list) LLDB_WRAPPER_NOEXCEPT;
303
+ void lldb_file_spec_list_append(lldb_file_spec_list_t list, lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
304
+ int lldb_file_spec_list_append_if_unique(lldb_file_spec_list_t list, lldb_file_spec_t file_spec) LLDB_WRAPPER_NOEXCEPT;
305
+ void lldb_file_spec_list_clear(lldb_file_spec_list_t list) LLDB_WRAPPER_NOEXCEPT;
306
+ lldb_file_spec_t lldb_file_spec_list_get_file_spec_at_index(lldb_file_spec_list_t list,
307
+ uint32_t index) LLDB_WRAPPER_NOEXCEPT;
308
+
309
+ // SBAddress
310
+ lldb_address_t lldb_address_create(void) LLDB_WRAPPER_NOEXCEPT;
311
+ lldb_address_t lldb_address_create_from_load_address(uint64_t address, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
312
+ void lldb_address_destroy(lldb_address_t address) LLDB_WRAPPER_NOEXCEPT;
313
+ int lldb_address_is_valid(lldb_address_t address) LLDB_WRAPPER_NOEXCEPT;
314
+ uint64_t lldb_address_get_file_address(lldb_address_t address) LLDB_WRAPPER_NOEXCEPT;
315
+ uint64_t lldb_address_get_load_address(lldb_address_t address, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
316
+ uint64_t lldb_address_get_offset(lldb_address_t address) LLDB_WRAPPER_NOEXCEPT;
317
+ lldb_line_entry_t lldb_address_get_line_entry(lldb_address_t address) LLDB_WRAPPER_NOEXCEPT;
318
+
319
+ // SBLineEntry
320
+ void lldb_line_entry_destroy(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
321
+ int lldb_line_entry_is_valid(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
322
+ lldb_address_t lldb_line_entry_get_start_address(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
323
+ lldb_address_t lldb_line_entry_get_end_address(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
324
+ lldb_file_spec_t lldb_line_entry_get_file_spec(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
325
+ uint32_t lldb_line_entry_get_line(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
326
+ uint32_t lldb_line_entry_get_column(lldb_line_entry_t entry) LLDB_WRAPPER_NOEXCEPT;
121
327
 
122
328
  // SBProcess
123
- void lldb_process_destroy(lldb_process_t process);
124
- int lldb_process_is_valid(lldb_process_t process);
125
- int lldb_process_continue(lldb_process_t process);
126
- int lldb_process_stop(lldb_process_t process);
127
- int lldb_process_kill(lldb_process_t process);
128
- int lldb_process_detach(lldb_process_t process);
129
- int lldb_process_destroy_process(lldb_process_t process);
130
- int lldb_process_signal(lldb_process_t process, int signal);
131
- int lldb_process_get_state(lldb_process_t process);
132
- uint32_t lldb_process_get_num_threads(lldb_process_t process);
133
- lldb_thread_t lldb_process_get_thread_at_index(lldb_process_t process, uint32_t index);
134
- lldb_thread_t lldb_process_get_thread_by_id(lldb_process_t process, uint64_t tid);
135
- lldb_thread_t lldb_process_get_thread_by_index_id(lldb_process_t process, uint32_t index_id);
136
- lldb_thread_t lldb_process_get_selected_thread(lldb_process_t process);
137
- int lldb_process_set_selected_thread_by_id(lldb_process_t process, uint64_t tid);
138
- int lldb_process_set_selected_thread_by_index_id(lldb_process_t process, uint32_t index_id);
139
- uint64_t lldb_process_get_process_id(lldb_process_t process);
140
- int lldb_process_get_exit_status(lldb_process_t process);
141
- const char* lldb_process_get_exit_description(lldb_process_t process);
142
- size_t lldb_process_read_memory(lldb_process_t process, uint64_t addr, void* buf, size_t size, lldb_error_t error);
143
- size_t lldb_process_write_memory(lldb_process_t process, uint64_t addr, const void* buf, size_t size, lldb_error_t error);
144
- uint64_t lldb_process_allocate_memory(lldb_process_t process, size_t size, uint32_t permissions, lldb_error_t error);
145
- int lldb_process_deallocate_memory(lldb_process_t process, uint64_t addr);
146
- size_t lldb_process_read_cstring_from_memory(lldb_process_t process, uint64_t addr, void* buf, size_t size, lldb_error_t error);
147
- size_t lldb_process_get_stdout(lldb_process_t process, char* buf, size_t size);
148
- size_t lldb_process_get_stderr(lldb_process_t process, char* buf, size_t size);
149
- size_t lldb_process_put_stdin(lldb_process_t process, const char* buf, size_t size);
150
- int lldb_process_send_async_interrupt(lldb_process_t process);
151
- uint32_t lldb_process_get_num_supported_hardware_watchpoints(lldb_process_t process, lldb_error_t error);
152
- uint32_t lldb_process_get_unique_id(lldb_process_t process);
153
- lldb_memory_region_info_t lldb_process_get_memory_region_info(lldb_process_t process, uint64_t addr, lldb_error_t error);
329
+ void lldb_process_destroy(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
330
+ int lldb_process_is_valid(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
331
+ lldb_ruby_status_t lldb_process_continue(lldb_process_t process, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
332
+ lldb_ruby_status_t lldb_process_stop(lldb_process_t process, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
333
+ lldb_ruby_status_t lldb_process_kill(lldb_process_t process, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
334
+ lldb_ruby_status_t lldb_process_detach(lldb_process_t process, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
335
+ lldb_ruby_status_t lldb_process_destroy_process(lldb_process_t process, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
336
+ lldb_ruby_status_t lldb_process_signal(lldb_process_t process, int signal, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
337
+ int lldb_process_get_state(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
338
+ uint32_t lldb_process_get_num_threads(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
339
+ lldb_thread_t lldb_process_get_thread_at_index(lldb_process_t process, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
340
+ lldb_thread_t lldb_process_get_thread_by_id(lldb_process_t process, uint64_t tid) LLDB_WRAPPER_NOEXCEPT;
341
+ lldb_thread_t lldb_process_get_thread_by_index_id(lldb_process_t process, uint32_t index_id) LLDB_WRAPPER_NOEXCEPT;
342
+ lldb_thread_t lldb_process_get_selected_thread(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
343
+ int lldb_process_set_selected_thread_by_id(lldb_process_t process, uint64_t tid) LLDB_WRAPPER_NOEXCEPT;
344
+ int lldb_process_set_selected_thread_by_index_id(lldb_process_t process, uint32_t index_id) LLDB_WRAPPER_NOEXCEPT;
345
+ uint64_t lldb_process_get_process_id(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
346
+ int lldb_process_get_exit_status(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
347
+ const char* lldb_process_get_exit_description(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
348
+ size_t lldb_process_read_memory(lldb_process_t process, uint64_t addr, void* buf, size_t size, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
349
+ size_t lldb_process_write_memory(lldb_process_t process, uint64_t addr, const void* buf, size_t size, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
350
+ uint64_t lldb_process_allocate_memory(lldb_process_t process, size_t size, uint32_t permissions, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
351
+ lldb_ruby_status_t lldb_process_deallocate_memory(lldb_process_t process, uint64_t addr, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
352
+ size_t lldb_process_read_cstring_from_memory(lldb_process_t process, uint64_t addr, void* buf, size_t size, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
353
+ size_t lldb_process_get_stdout(lldb_process_t process, char* buf, size_t size) LLDB_WRAPPER_NOEXCEPT;
354
+ size_t lldb_process_get_stderr(lldb_process_t process, char* buf, size_t size) LLDB_WRAPPER_NOEXCEPT;
355
+ size_t lldb_process_put_stdin(lldb_process_t process, const char* buf, size_t size) LLDB_WRAPPER_NOEXCEPT;
356
+ void lldb_process_send_async_interrupt(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
357
+ lldb_broadcaster_t lldb_process_get_broadcaster(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
358
+ lldb_ruby_status_t lldb_process_get_num_supported_hardware_watchpoints(lldb_process_t process,
359
+ uint32_t* result,
360
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
361
+ uint32_t lldb_process_get_unique_id(lldb_process_t process) LLDB_WRAPPER_NOEXCEPT;
362
+ lldb_memory_region_info_t lldb_process_get_memory_region_info(lldb_process_t process, uint64_t addr, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
154
363
 
155
364
  // SBMemoryRegionInfo
156
- void lldb_memory_region_info_destroy(lldb_memory_region_info_t info);
157
- uint64_t lldb_memory_region_info_get_region_base(lldb_memory_region_info_t info);
158
- uint64_t lldb_memory_region_info_get_region_end(lldb_memory_region_info_t info);
159
- int lldb_memory_region_info_is_readable(lldb_memory_region_info_t info);
160
- int lldb_memory_region_info_is_writable(lldb_memory_region_info_t info);
161
- int lldb_memory_region_info_is_executable(lldb_memory_region_info_t info);
162
- int lldb_memory_region_info_is_mapped(lldb_memory_region_info_t info);
163
- const char* lldb_memory_region_info_get_name(lldb_memory_region_info_t info);
365
+ void lldb_memory_region_info_destroy(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
366
+ uint64_t lldb_memory_region_info_get_region_base(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
367
+ uint64_t lldb_memory_region_info_get_region_end(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
368
+ int lldb_memory_region_info_is_readable(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
369
+ int lldb_memory_region_info_is_writable(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
370
+ int lldb_memory_region_info_is_executable(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
371
+ int lldb_memory_region_info_is_mapped(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
372
+ const char* lldb_memory_region_info_get_name(lldb_memory_region_info_t info) LLDB_WRAPPER_NOEXCEPT;
164
373
 
165
374
  // SBThread
166
- void lldb_thread_destroy(lldb_thread_t thread);
167
- int lldb_thread_is_valid(lldb_thread_t thread);
168
- int lldb_thread_step_over(lldb_thread_t thread);
169
- int lldb_thread_step_into(lldb_thread_t thread);
170
- int lldb_thread_step_out(lldb_thread_t thread);
171
- int lldb_thread_step_instruction(lldb_thread_t thread, int step_over);
172
- int lldb_thread_run_to_address(lldb_thread_t thread, uint64_t addr);
173
- uint32_t lldb_thread_get_num_frames(lldb_thread_t thread);
174
- lldb_frame_t lldb_thread_get_frame_at_index(lldb_thread_t thread, uint32_t index);
175
- lldb_frame_t lldb_thread_get_selected_frame(lldb_thread_t thread);
176
- int lldb_thread_set_selected_frame(lldb_thread_t thread, uint32_t index);
177
- uint64_t lldb_thread_get_thread_id(lldb_thread_t thread);
178
- uint32_t lldb_thread_get_index_id(lldb_thread_t thread);
179
- const char* lldb_thread_get_name(lldb_thread_t thread);
180
- const char* lldb_thread_get_queue_name(lldb_thread_t thread);
181
- int lldb_thread_get_stop_reason(lldb_thread_t thread);
182
- const char* lldb_thread_get_stop_description(lldb_thread_t thread, size_t max_size);
183
- uint64_t lldb_thread_get_stop_reason_data_count(lldb_thread_t thread);
184
- uint64_t lldb_thread_get_stop_reason_data_at_index(lldb_thread_t thread, uint32_t index);
185
- int lldb_thread_is_stopped(lldb_thread_t thread);
186
- int lldb_thread_is_suspended(lldb_thread_t thread);
187
- int lldb_thread_suspend(lldb_thread_t thread);
188
- int lldb_thread_resume(lldb_thread_t thread);
189
- lldb_process_t lldb_thread_get_process(lldb_thread_t thread);
375
+ void lldb_thread_destroy(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
376
+ int lldb_thread_is_valid(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
377
+ lldb_ruby_status_t lldb_thread_step_over(lldb_thread_t thread, int run_mode, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
378
+ lldb_ruby_status_t lldb_thread_step_into(lldb_thread_t thread,
379
+ const char* target_name,
380
+ uint32_t end_line,
381
+ int run_mode,
382
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
383
+ lldb_ruby_status_t lldb_thread_step_out(lldb_thread_t thread, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
384
+ lldb_ruby_status_t lldb_thread_step_instruction(lldb_thread_t thread,
385
+ int step_over,
386
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
387
+ lldb_ruby_status_t lldb_thread_run_to_address(lldb_thread_t thread,
388
+ uint64_t addr,
389
+ lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
390
+ uint32_t lldb_thread_get_num_frames(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
391
+ lldb_frame_t lldb_thread_get_frame_at_index(lldb_thread_t thread, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
392
+ lldb_frame_t lldb_thread_get_selected_frame(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
393
+ int lldb_thread_set_selected_frame(lldb_thread_t thread, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
394
+ uint64_t lldb_thread_get_thread_id(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
395
+ uint32_t lldb_thread_get_index_id(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
396
+ const char* lldb_thread_get_name(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
397
+ const char* lldb_thread_get_queue_name(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
398
+ int lldb_thread_get_stop_reason(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
399
+ size_t lldb_thread_get_stop_description(lldb_thread_t thread, char* buffer, size_t length) LLDB_WRAPPER_NOEXCEPT;
400
+ uint64_t lldb_thread_get_stop_reason_data_count(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
401
+ uint64_t lldb_thread_get_stop_reason_data_at_index(lldb_thread_t thread, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
402
+ int lldb_thread_is_stopped(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
403
+ int lldb_thread_is_suspended(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
404
+ int lldb_thread_suspend(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
405
+ int lldb_thread_resume(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
406
+ lldb_process_t lldb_thread_get_process(lldb_thread_t thread) LLDB_WRAPPER_NOEXCEPT;
190
407
 
191
408
  // SBFrame
192
- void lldb_frame_destroy(lldb_frame_t frame);
193
- int lldb_frame_is_valid(lldb_frame_t frame);
194
- const char* lldb_frame_get_function_name(lldb_frame_t frame);
195
- const char* lldb_frame_get_display_function_name(lldb_frame_t frame);
196
- uint32_t lldb_frame_get_line(lldb_frame_t frame);
197
- const char* lldb_frame_get_file_path(lldb_frame_t frame);
198
- uint32_t lldb_frame_get_column(lldb_frame_t frame);
199
- uint64_t lldb_frame_get_pc(lldb_frame_t frame);
200
- int lldb_frame_set_pc(lldb_frame_t frame, uint64_t new_pc);
201
- uint64_t lldb_frame_get_sp(lldb_frame_t frame);
202
- uint64_t lldb_frame_get_fp(lldb_frame_t frame);
203
- lldb_value_t lldb_frame_find_variable(lldb_frame_t frame, const char* name);
204
- lldb_value_t lldb_frame_evaluate_expression(lldb_frame_t frame, const char* expr);
205
- lldb_value_t lldb_frame_get_value_for_variable_path(lldb_frame_t frame, const char* path);
206
- uint32_t lldb_frame_get_frame_id(lldb_frame_t frame);
207
- lldb_thread_t lldb_frame_get_thread(lldb_frame_t frame);
208
- lldb_symbol_context_t lldb_frame_get_symbol_context(lldb_frame_t frame, uint32_t scope);
209
- lldb_value_list_t lldb_frame_get_variables(lldb_frame_t frame, int arguments, int locals, int statics, int in_scope_only);
210
- lldb_value_list_t lldb_frame_get_registers(lldb_frame_t frame);
211
- int lldb_frame_is_inlined(lldb_frame_t frame);
212
- const char* lldb_frame_disassemble(lldb_frame_t frame);
213
- lldb_module_t lldb_frame_get_module(lldb_frame_t frame);
409
+ void lldb_frame_destroy(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
410
+ int lldb_frame_is_valid(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
411
+ const char* lldb_frame_get_function_name(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
412
+ const char* lldb_frame_get_display_function_name(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
413
+ uint32_t lldb_frame_get_line(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
414
+ const char* lldb_frame_get_file_path(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
415
+ lldb_file_spec_t lldb_frame_get_file_spec(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
416
+ lldb_line_entry_t lldb_frame_get_line_entry(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
417
+ uint32_t lldb_frame_get_column(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
418
+ uint64_t lldb_frame_get_pc(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
419
+ int lldb_frame_set_pc(lldb_frame_t frame, uint64_t new_pc) LLDB_WRAPPER_NOEXCEPT;
420
+ uint64_t lldb_frame_get_sp(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
421
+ uint64_t lldb_frame_get_fp(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
422
+ lldb_value_t lldb_frame_find_variable(lldb_frame_t frame, const char* name) LLDB_WRAPPER_NOEXCEPT;
423
+ lldb_value_t lldb_frame_evaluate_expression(lldb_frame_t frame, const char* expr) LLDB_WRAPPER_NOEXCEPT;
424
+ lldb_value_t lldb_frame_evaluate_expression_with_options(lldb_frame_t frame,
425
+ const char* expr,
426
+ lldb_expression_options_t options) LLDB_WRAPPER_NOEXCEPT;
427
+ lldb_value_t lldb_frame_get_value_for_variable_path(lldb_frame_t frame, const char* path) LLDB_WRAPPER_NOEXCEPT;
428
+ uint32_t lldb_frame_get_frame_id(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
429
+ lldb_thread_t lldb_frame_get_thread(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
430
+ lldb_function_t lldb_frame_get_function(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
431
+ lldb_symbol_t lldb_frame_get_symbol(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
432
+ lldb_compile_unit_t lldb_frame_get_compile_unit(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
433
+ lldb_block_t lldb_frame_get_block(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
434
+ lldb_instruction_list_t lldb_frame_get_instruction_list(lldb_frame_t frame,
435
+ lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
436
+ lldb_symbol_context_t lldb_frame_get_symbol_context(lldb_frame_t frame, uint32_t scope) LLDB_WRAPPER_NOEXCEPT;
437
+ lldb_value_list_t lldb_frame_get_variables(lldb_frame_t frame, int arguments, int locals, int statics, int in_scope_only) LLDB_WRAPPER_NOEXCEPT;
438
+ lldb_value_list_t lldb_frame_get_registers(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
439
+ int lldb_frame_is_inlined(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
440
+ const char* lldb_frame_disassemble(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
441
+ lldb_module_t lldb_frame_get_module(lldb_frame_t frame) LLDB_WRAPPER_NOEXCEPT;
214
442
 
215
443
  // SBBreakpoint
216
- void lldb_breakpoint_destroy(lldb_breakpoint_t bp);
217
- int lldb_breakpoint_is_valid(lldb_breakpoint_t bp);
218
- int32_t lldb_breakpoint_get_id(lldb_breakpoint_t bp);
219
- int lldb_breakpoint_is_enabled(lldb_breakpoint_t bp);
220
- void lldb_breakpoint_set_enabled(lldb_breakpoint_t bp, int enabled);
221
- int lldb_breakpoint_is_one_shot(lldb_breakpoint_t bp);
222
- void lldb_breakpoint_set_one_shot(lldb_breakpoint_t bp, int one_shot);
223
- uint32_t lldb_breakpoint_get_hit_count(lldb_breakpoint_t bp);
224
- uint32_t lldb_breakpoint_get_ignore_count(lldb_breakpoint_t bp);
225
- void lldb_breakpoint_set_ignore_count(lldb_breakpoint_t bp, uint32_t count);
226
- const char* lldb_breakpoint_get_condition(lldb_breakpoint_t bp);
227
- void lldb_breakpoint_set_condition(lldb_breakpoint_t bp, const char* condition);
228
- uint32_t lldb_breakpoint_get_num_locations(lldb_breakpoint_t bp);
229
- lldb_breakpoint_location_t lldb_breakpoint_get_location_at_index(lldb_breakpoint_t bp, uint32_t index);
230
- lldb_breakpoint_location_t lldb_breakpoint_find_location_by_id(lldb_breakpoint_t bp, int32_t id);
231
- int lldb_breakpoint_is_hardware(lldb_breakpoint_t bp);
232
- int lldb_breakpoint_get_auto_continue(lldb_breakpoint_t bp);
233
- void lldb_breakpoint_set_auto_continue(lldb_breakpoint_t bp, int auto_continue);
234
- uint64_t lldb_breakpoint_get_thread_id(lldb_breakpoint_t bp);
235
- void lldb_breakpoint_set_thread_id(lldb_breakpoint_t bp, uint64_t tid);
236
- const char* lldb_breakpoint_get_thread_name(lldb_breakpoint_t bp);
237
- void lldb_breakpoint_set_thread_name(lldb_breakpoint_t bp, const char* name);
238
- uint32_t lldb_breakpoint_get_thread_index(lldb_breakpoint_t bp);
239
- void lldb_breakpoint_set_thread_index(lldb_breakpoint_t bp, uint32_t index);
444
+ void lldb_breakpoint_destroy(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
445
+ int lldb_breakpoint_is_valid(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
446
+ int32_t lldb_breakpoint_get_id(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
447
+ int lldb_breakpoint_is_enabled(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
448
+ void lldb_breakpoint_set_enabled(lldb_breakpoint_t bp, int enabled) LLDB_WRAPPER_NOEXCEPT;
449
+ int lldb_breakpoint_is_one_shot(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
450
+ void lldb_breakpoint_set_one_shot(lldb_breakpoint_t bp, int one_shot) LLDB_WRAPPER_NOEXCEPT;
451
+ uint32_t lldb_breakpoint_get_hit_count(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
452
+ uint32_t lldb_breakpoint_get_ignore_count(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
453
+ void lldb_breakpoint_set_ignore_count(lldb_breakpoint_t bp, uint32_t count) LLDB_WRAPPER_NOEXCEPT;
454
+ const char* lldb_breakpoint_get_condition(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
455
+ void lldb_breakpoint_set_condition(lldb_breakpoint_t bp, const char* condition) LLDB_WRAPPER_NOEXCEPT;
456
+ uint32_t lldb_breakpoint_get_num_locations(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
457
+ lldb_breakpoint_location_t lldb_breakpoint_get_location_at_index(lldb_breakpoint_t bp, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
458
+ lldb_breakpoint_location_t lldb_breakpoint_find_location_by_id(lldb_breakpoint_t bp, int32_t id) LLDB_WRAPPER_NOEXCEPT;
459
+ int lldb_breakpoint_is_hardware(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
460
+ int lldb_breakpoint_get_auto_continue(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
461
+ void lldb_breakpoint_set_auto_continue(lldb_breakpoint_t bp, int auto_continue) LLDB_WRAPPER_NOEXCEPT;
462
+ uint64_t lldb_breakpoint_get_thread_id(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
463
+ void lldb_breakpoint_set_thread_id(lldb_breakpoint_t bp, uint64_t tid) LLDB_WRAPPER_NOEXCEPT;
464
+ const char* lldb_breakpoint_get_thread_name(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
465
+ void lldb_breakpoint_set_thread_name(lldb_breakpoint_t bp, const char* name) LLDB_WRAPPER_NOEXCEPT;
466
+ uint32_t lldb_breakpoint_get_thread_index(lldb_breakpoint_t bp) LLDB_WRAPPER_NOEXCEPT;
467
+ void lldb_breakpoint_set_thread_index(lldb_breakpoint_t bp, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
240
468
 
241
469
  // SBBreakpointLocation
242
- void lldb_breakpoint_location_destroy(lldb_breakpoint_location_t loc);
243
- int lldb_breakpoint_location_is_valid(lldb_breakpoint_location_t loc);
244
- int32_t lldb_breakpoint_location_get_id(lldb_breakpoint_location_t loc);
245
- uint64_t lldb_breakpoint_location_get_load_address(lldb_breakpoint_location_t loc);
246
- int lldb_breakpoint_location_is_enabled(lldb_breakpoint_location_t loc);
247
- void lldb_breakpoint_location_set_enabled(lldb_breakpoint_location_t loc, int enabled);
248
- uint32_t lldb_breakpoint_location_get_hit_count(lldb_breakpoint_location_t loc);
249
- uint32_t lldb_breakpoint_location_get_ignore_count(lldb_breakpoint_location_t loc);
250
- void lldb_breakpoint_location_set_ignore_count(lldb_breakpoint_location_t loc, uint32_t count);
251
- const char* lldb_breakpoint_location_get_condition(lldb_breakpoint_location_t loc);
252
- void lldb_breakpoint_location_set_condition(lldb_breakpoint_location_t loc, const char* condition);
253
- lldb_breakpoint_t lldb_breakpoint_location_get_breakpoint(lldb_breakpoint_location_t loc);
470
+ void lldb_breakpoint_location_destroy(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
471
+ int lldb_breakpoint_location_is_valid(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
472
+ int32_t lldb_breakpoint_location_get_id(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
473
+ uint64_t lldb_breakpoint_location_get_load_address(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
474
+ lldb_address_t lldb_breakpoint_location_get_address(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
475
+ int lldb_breakpoint_location_is_enabled(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
476
+ void lldb_breakpoint_location_set_enabled(lldb_breakpoint_location_t loc, int enabled) LLDB_WRAPPER_NOEXCEPT;
477
+ uint32_t lldb_breakpoint_location_get_hit_count(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
478
+ uint32_t lldb_breakpoint_location_get_ignore_count(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
479
+ void lldb_breakpoint_location_set_ignore_count(lldb_breakpoint_location_t loc, uint32_t count) LLDB_WRAPPER_NOEXCEPT;
480
+ const char* lldb_breakpoint_location_get_condition(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
481
+ void lldb_breakpoint_location_set_condition(lldb_breakpoint_location_t loc, const char* condition) LLDB_WRAPPER_NOEXCEPT;
482
+ lldb_breakpoint_t lldb_breakpoint_location_get_breakpoint(lldb_breakpoint_location_t loc) LLDB_WRAPPER_NOEXCEPT;
254
483
 
255
484
  // SBValue
256
- void lldb_value_destroy(lldb_value_t value);
257
- int lldb_value_is_valid(lldb_value_t value);
258
- const char* lldb_value_get_name(lldb_value_t value);
259
- const char* lldb_value_get_value(lldb_value_t value);
260
- const char* lldb_value_get_summary(lldb_value_t value);
261
- const char* lldb_value_get_type_name(lldb_value_t value);
262
- lldb_type_t lldb_value_get_type(lldb_value_t value);
263
- uint32_t lldb_value_get_num_children(lldb_value_t value);
264
- lldb_value_t lldb_value_get_child_at_index(lldb_value_t value, uint32_t index);
265
- lldb_value_t lldb_value_get_child_member_with_name(lldb_value_t value, const char* name);
266
- int64_t lldb_value_get_value_as_signed(lldb_value_t value);
267
- uint64_t lldb_value_get_value_as_unsigned(lldb_value_t value);
268
- uint64_t lldb_value_get_byte_size(lldb_value_t value);
269
- int lldb_value_might_have_children(lldb_value_t value);
270
- int lldb_value_get_error(lldb_value_t value, lldb_error_t error);
271
- lldb_value_t lldb_value_dereference(lldb_value_t value);
272
- lldb_value_t lldb_value_address_of(lldb_value_t value);
273
- lldb_value_t lldb_value_cast(lldb_value_t value, lldb_type_t type);
274
- uint64_t lldb_value_get_load_address(lldb_value_t value);
275
- int lldb_value_get_value_type(lldb_value_t value);
276
- int lldb_value_set_value_from_cstring(lldb_value_t value, const char* str, lldb_error_t error);
277
- lldb_value_t lldb_value_create_child_at_offset(lldb_value_t value, const char* name, lldb_type_t type, uint32_t offset);
278
- lldb_value_t lldb_value_create_value_from_address(lldb_value_t value, const char* name, uint64_t addr, lldb_type_t type);
279
- lldb_value_t lldb_value_create_value_from_expression(lldb_value_t value, const char* name, const char* expr);
280
- lldb_watchpoint_t lldb_value_watch(lldb_value_t value, int resolve_location, int read, int write, lldb_error_t error);
281
- const char* lldb_value_get_expression_path(lldb_value_t value);
282
- int lldb_value_is_pointer_type(lldb_value_t value);
283
- lldb_value_t lldb_value_get_non_synthetic_value(lldb_value_t value);
485
+ void lldb_value_destroy(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
486
+ int lldb_value_is_valid(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
487
+ const char* lldb_value_get_name(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
488
+ const char* lldb_value_get_value(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
489
+ const char* lldb_value_get_summary(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
490
+ const char* lldb_value_get_type_name(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
491
+ lldb_type_t lldb_value_get_type(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
492
+ uint32_t lldb_value_get_num_children(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
493
+ lldb_value_t lldb_value_get_child_at_index(lldb_value_t value, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
494
+ lldb_value_t lldb_value_get_child_member_with_name(lldb_value_t value, const char* name) LLDB_WRAPPER_NOEXCEPT;
495
+ int64_t lldb_value_get_value_as_signed(lldb_value_t value, lldb_error_t error, int64_t fail_value) LLDB_WRAPPER_NOEXCEPT;
496
+ uint64_t lldb_value_get_value_as_unsigned(lldb_value_t value, lldb_error_t error, uint64_t fail_value) LLDB_WRAPPER_NOEXCEPT;
497
+ uint64_t lldb_value_get_byte_size(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
498
+ int lldb_value_might_have_children(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
499
+ int lldb_value_get_error(lldb_value_t value, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
500
+ lldb_value_t lldb_value_dereference(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
501
+ lldb_value_t lldb_value_address_of(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
502
+ lldb_value_t lldb_value_cast(lldb_value_t value, lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
503
+ uint64_t lldb_value_get_load_address(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
504
+ int lldb_value_get_value_type(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
505
+ int lldb_value_set_value_from_cstring(lldb_value_t value, const char* str, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
506
+ lldb_value_t lldb_value_create_child_at_offset(lldb_value_t value, const char* name, lldb_type_t type, uint32_t offset) LLDB_WRAPPER_NOEXCEPT;
507
+ lldb_value_t lldb_value_create_value_from_address(lldb_value_t value, const char* name, uint64_t addr, lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
508
+ lldb_value_t lldb_value_create_value_from_expression(lldb_value_t value, const char* name, const char* expr) LLDB_WRAPPER_NOEXCEPT;
509
+ lldb_watchpoint_t lldb_value_watch(lldb_value_t value, int resolve_location, int read, int write, lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
510
+ const char* lldb_value_get_expression_path(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
511
+ int lldb_value_is_pointer_type(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
512
+ lldb_value_t lldb_value_get_non_synthetic_value(lldb_value_t value) LLDB_WRAPPER_NOEXCEPT;
284
513
 
285
514
  // SBValueList
286
- void lldb_value_list_destroy(lldb_value_list_t list);
287
- int lldb_value_list_is_valid(lldb_value_list_t list);
288
- uint32_t lldb_value_list_get_size(lldb_value_list_t list);
289
- lldb_value_t lldb_value_list_get_value_at_index(lldb_value_list_t list, uint32_t index);
290
- lldb_value_t lldb_value_list_get_first_value_by_name(lldb_value_list_t list, const char* name);
515
+ void lldb_value_list_destroy(lldb_value_list_t list) LLDB_WRAPPER_NOEXCEPT;
516
+ int lldb_value_list_is_valid(lldb_value_list_t list) LLDB_WRAPPER_NOEXCEPT;
517
+ uint32_t lldb_value_list_get_size(lldb_value_list_t list) LLDB_WRAPPER_NOEXCEPT;
518
+ lldb_value_t lldb_value_list_get_value_at_index(lldb_value_list_t list, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
519
+ lldb_value_t lldb_value_list_get_first_value_by_name(lldb_value_list_t list, const char* name) LLDB_WRAPPER_NOEXCEPT;
291
520
 
292
521
  // SBError
293
- lldb_error_t lldb_error_create(void);
294
- void lldb_error_destroy(lldb_error_t error);
295
- int lldb_error_success(lldb_error_t error);
296
- int lldb_error_fail(lldb_error_t error);
297
- const char* lldb_error_get_cstring(lldb_error_t error);
298
- uint32_t lldb_error_get_error(lldb_error_t error);
299
- void lldb_error_clear(lldb_error_t error);
300
- void lldb_error_set_error_string(lldb_error_t error, const char* str);
522
+ lldb_error_t lldb_error_create(void) LLDB_WRAPPER_NOEXCEPT;
523
+ void lldb_error_destroy(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
524
+ int lldb_error_success(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
525
+ int lldb_error_fail(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
526
+ const char* lldb_error_get_cstring(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
527
+ uint32_t lldb_error_get_error(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
528
+ int lldb_error_get_type(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
529
+ void lldb_error_clear(lldb_error_t error) LLDB_WRAPPER_NOEXCEPT;
530
+ void lldb_error_set_error_string(lldb_error_t error, const char* str) LLDB_WRAPPER_NOEXCEPT;
301
531
 
302
532
  // SBModule
303
- void lldb_module_destroy(lldb_module_t module);
304
- int lldb_module_is_valid(lldb_module_t module);
305
- const char* lldb_module_get_file_path(lldb_module_t module);
306
- const char* lldb_module_get_platform_file_path(lldb_module_t module);
307
- uint32_t lldb_module_get_num_symbols(lldb_module_t module);
533
+ void lldb_module_destroy(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
534
+ int lldb_module_is_valid(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
535
+ const char* lldb_module_get_file_path(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
536
+ const char* lldb_module_get_platform_file_path(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
537
+ lldb_file_spec_t lldb_module_get_file(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
538
+ lldb_file_spec_t lldb_module_get_platform_file(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
539
+ uint32_t lldb_module_get_num_symbols(lldb_module_t module) LLDB_WRAPPER_NOEXCEPT;
540
+ lldb_symbol_t lldb_module_get_symbol_at_index(lldb_module_t module, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
541
+
542
+ // SBSymbol
543
+ void lldb_symbol_destroy(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
544
+ int lldb_symbol_is_valid(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
545
+ const char* lldb_symbol_get_name(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
546
+ const char* lldb_symbol_get_display_name(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
547
+ const char* lldb_symbol_get_mangled_name(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
548
+ const char* lldb_symbol_get_base_name(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
549
+ lldb_address_t lldb_symbol_get_start_address(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
550
+ lldb_address_t lldb_symbol_get_end_address(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
551
+ uint64_t lldb_symbol_get_value(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
552
+ uint64_t lldb_symbol_get_size(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
553
+ uint32_t lldb_symbol_get_prologue_byte_size(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
554
+ int lldb_symbol_get_type(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
555
+ uint32_t lldb_symbol_get_id(lldb_symbol_t symbol) LLDB_WRAPPER_NOEXCEPT;
556
+
557
+ // SBFunction
558
+ void lldb_function_destroy(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
559
+ int lldb_function_is_valid(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
560
+ const char* lldb_function_get_name(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
561
+ const char* lldb_function_get_display_name(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
562
+ const char* lldb_function_get_mangled_name(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
563
+ const char* lldb_function_get_base_name(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
564
+ lldb_address_t lldb_function_get_start_address(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
565
+ lldb_address_t lldb_function_get_end_address(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
566
+ uint32_t lldb_function_get_prologue_byte_size(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
567
+ lldb_type_t lldb_function_get_type(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
568
+ lldb_block_t lldb_function_get_block(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
569
+ int lldb_function_is_optimized(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
570
+ int lldb_function_get_language(lldb_function_t function) LLDB_WRAPPER_NOEXCEPT;
571
+
572
+ // SBCompileUnit
573
+ void lldb_compile_unit_destroy(lldb_compile_unit_t unit) LLDB_WRAPPER_NOEXCEPT;
574
+ int lldb_compile_unit_is_valid(lldb_compile_unit_t unit) LLDB_WRAPPER_NOEXCEPT;
575
+ lldb_file_spec_t lldb_compile_unit_get_file_spec(lldb_compile_unit_t unit) LLDB_WRAPPER_NOEXCEPT;
576
+ uint32_t lldb_compile_unit_get_num_line_entries(lldb_compile_unit_t unit) LLDB_WRAPPER_NOEXCEPT;
577
+ lldb_line_entry_t lldb_compile_unit_get_line_entry_at_index(lldb_compile_unit_t unit,
578
+ uint32_t index) LLDB_WRAPPER_NOEXCEPT;
579
+
580
+ // SBBlock
581
+ void lldb_block_destroy(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
582
+ int lldb_block_is_valid(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
583
+ const char* lldb_block_get_inlined_name(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
584
+ lldb_file_spec_t lldb_block_get_inlined_call_site_file(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
585
+ uint32_t lldb_block_get_inlined_call_site_line(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
586
+ uint32_t lldb_block_get_inlined_call_site_column(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
587
+ lldb_block_t lldb_block_get_parent(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
588
+ lldb_block_t lldb_block_get_sibling(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
589
+ lldb_block_t lldb_block_get_first_child(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
590
+ uint32_t lldb_block_get_num_ranges(lldb_block_t block) LLDB_WRAPPER_NOEXCEPT;
591
+ lldb_address_t lldb_block_get_range_start_address(lldb_block_t block, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
592
+ lldb_address_t lldb_block_get_range_end_address(lldb_block_t block, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
593
+
594
+ // SBInstructionList
595
+ void lldb_instruction_list_destroy(lldb_instruction_list_t list) LLDB_WRAPPER_NOEXCEPT;
596
+ int lldb_instruction_list_is_valid(lldb_instruction_list_t list) LLDB_WRAPPER_NOEXCEPT;
597
+ uint64_t lldb_instruction_list_get_size(lldb_instruction_list_t list) LLDB_WRAPPER_NOEXCEPT;
598
+ lldb_instruction_t lldb_instruction_list_get_instruction_at_index(lldb_instruction_list_t list,
599
+ uint32_t index) LLDB_WRAPPER_NOEXCEPT;
600
+
601
+ // SBInstruction
602
+ void lldb_instruction_destroy(lldb_instruction_t instruction) LLDB_WRAPPER_NOEXCEPT;
603
+ int lldb_instruction_is_valid(lldb_instruction_t instruction) LLDB_WRAPPER_NOEXCEPT;
604
+ lldb_address_t lldb_instruction_get_address(lldb_instruction_t instruction) LLDB_WRAPPER_NOEXCEPT;
605
+ const char* lldb_instruction_get_mnemonic(lldb_instruction_t instruction, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
606
+ const char* lldb_instruction_get_operands(lldb_instruction_t instruction, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
607
+ const char* lldb_instruction_get_comment(lldb_instruction_t instruction, lldb_target_t target) LLDB_WRAPPER_NOEXCEPT;
608
+ uint32_t lldb_instruction_get_byte_size(lldb_instruction_t instruction) LLDB_WRAPPER_NOEXCEPT;
609
+ uint32_t lldb_instruction_get_bytes(lldb_instruction_t instruction,
610
+ lldb_target_t target,
611
+ uint8_t* buffer,
612
+ uint32_t length) LLDB_WRAPPER_NOEXCEPT;
308
613
 
309
614
  // SBSymbolContext
310
- void lldb_symbol_context_destroy(lldb_symbol_context_t ctx);
311
- int lldb_symbol_context_is_valid(lldb_symbol_context_t ctx);
312
- lldb_module_t lldb_symbol_context_get_module(lldb_symbol_context_t ctx);
313
- const char* lldb_symbol_context_get_function_name(lldb_symbol_context_t ctx);
615
+ void lldb_symbol_context_destroy(lldb_symbol_context_t ctx) LLDB_WRAPPER_NOEXCEPT;
616
+ int lldb_symbol_context_is_valid(lldb_symbol_context_t ctx) LLDB_WRAPPER_NOEXCEPT;
617
+ lldb_module_t lldb_symbol_context_get_module(lldb_symbol_context_t ctx) LLDB_WRAPPER_NOEXCEPT;
618
+ const char* lldb_symbol_context_get_function_name(lldb_symbol_context_t ctx) LLDB_WRAPPER_NOEXCEPT;
314
619
 
315
620
  // SBType
316
- void lldb_type_destroy(lldb_type_t type);
317
- int lldb_type_is_valid(lldb_type_t type);
318
- const char* lldb_type_get_name(lldb_type_t type);
319
- const char* lldb_type_get_display_type_name(lldb_type_t type);
320
- uint64_t lldb_type_get_byte_size(lldb_type_t type);
321
- int lldb_type_is_pointer_type(lldb_type_t type);
322
- int lldb_type_is_reference_type(lldb_type_t type);
323
- int lldb_type_is_array_type(lldb_type_t type);
324
- int lldb_type_is_vector_type(lldb_type_t type);
325
- int lldb_type_is_typedef_type(lldb_type_t type);
326
- int lldb_type_is_function_type(lldb_type_t type);
327
- int lldb_type_is_polymorphic_class(lldb_type_t type);
328
- lldb_type_t lldb_type_get_pointer_type(lldb_type_t type);
329
- lldb_type_t lldb_type_get_pointee_type(lldb_type_t type);
330
- lldb_type_t lldb_type_get_reference_type(lldb_type_t type);
331
- lldb_type_t lldb_type_get_dereferenced_type(lldb_type_t type);
332
- lldb_type_t lldb_type_get_unqualified_type(lldb_type_t type);
333
- lldb_type_t lldb_type_get_canonical_type(lldb_type_t type);
334
- lldb_type_t lldb_type_get_array_element_type(lldb_type_t type);
335
- uint64_t lldb_type_get_array_size(lldb_type_t type);
336
- uint32_t lldb_type_get_num_fields(lldb_type_t type);
337
- uint32_t lldb_type_get_num_direct_base_classes(lldb_type_t type);
338
- uint32_t lldb_type_get_num_virtual_base_classes(lldb_type_t type);
339
- int lldb_type_get_basic_type(lldb_type_t type);
621
+ void lldb_type_destroy(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
622
+ int lldb_type_is_valid(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
623
+ const char* lldb_type_get_name(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
624
+ const char* lldb_type_get_display_type_name(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
625
+ uint64_t lldb_type_get_byte_size(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
626
+ int lldb_type_is_pointer_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
627
+ int lldb_type_is_reference_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
628
+ int lldb_type_is_array_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
629
+ int lldb_type_is_vector_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
630
+ int lldb_type_is_typedef_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
631
+ int lldb_type_is_function_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
632
+ int lldb_type_is_polymorphic_class(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
633
+ lldb_type_t lldb_type_get_pointer_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
634
+ lldb_type_t lldb_type_get_pointee_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
635
+ lldb_type_t lldb_type_get_reference_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
636
+ lldb_type_t lldb_type_get_dereferenced_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
637
+ lldb_type_t lldb_type_get_unqualified_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
638
+ lldb_type_t lldb_type_get_canonical_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
639
+ lldb_type_t lldb_type_get_array_element_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
640
+ uint64_t lldb_type_get_array_size(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
641
+ uint32_t lldb_type_get_num_fields(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
642
+ uint32_t lldb_type_get_num_direct_base_classes(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
643
+ uint32_t lldb_type_get_num_virtual_base_classes(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
644
+ lldb_type_member_t lldb_type_get_field_at_index(lldb_type_t type, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
645
+ lldb_type_member_t lldb_type_get_direct_base_class_at_index(lldb_type_t type, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
646
+ lldb_type_member_t lldb_type_get_virtual_base_class_at_index(lldb_type_t type, uint32_t index) LLDB_WRAPPER_NOEXCEPT;
647
+ int lldb_type_get_basic_type(lldb_type_t type) LLDB_WRAPPER_NOEXCEPT;
648
+
649
+ // SBTypeMember
650
+ void lldb_type_member_destroy(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
651
+ int lldb_type_member_is_valid(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
652
+ const char* lldb_type_member_get_name(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
653
+ lldb_type_t lldb_type_member_get_type(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
654
+ uint64_t lldb_type_member_get_offset_in_bytes(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
655
+ uint64_t lldb_type_member_get_offset_in_bits(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
656
+ uint32_t lldb_type_member_get_bitfield_size_in_bits(lldb_type_member_t member) LLDB_WRAPPER_NOEXCEPT;
340
657
 
341
658
  // SBWatchpoint
342
- void lldb_watchpoint_destroy(lldb_watchpoint_t wp);
343
- int lldb_watchpoint_is_valid(lldb_watchpoint_t wp);
344
- int32_t lldb_watchpoint_get_id(lldb_watchpoint_t wp);
345
- int lldb_watchpoint_is_enabled(lldb_watchpoint_t wp);
346
- void lldb_watchpoint_set_enabled(lldb_watchpoint_t wp, int enabled);
347
- uint32_t lldb_watchpoint_get_hit_count(lldb_watchpoint_t wp);
348
- uint32_t lldb_watchpoint_get_ignore_count(lldb_watchpoint_t wp);
349
- void lldb_watchpoint_set_ignore_count(lldb_watchpoint_t wp, uint32_t count);
350
- const char* lldb_watchpoint_get_condition(lldb_watchpoint_t wp);
351
- void lldb_watchpoint_set_condition(lldb_watchpoint_t wp, const char* condition);
352
- uint64_t lldb_watchpoint_get_watch_address(lldb_watchpoint_t wp);
353
- size_t lldb_watchpoint_get_watch_size(lldb_watchpoint_t wp);
354
- int lldb_watchpoint_is_watching_reads(lldb_watchpoint_t wp);
355
- int lldb_watchpoint_is_watching_writes(lldb_watchpoint_t wp);
659
+ void lldb_watchpoint_destroy(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
660
+ int lldb_watchpoint_is_valid(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
661
+ int32_t lldb_watchpoint_get_id(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
662
+ int lldb_watchpoint_is_enabled(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
663
+ void lldb_watchpoint_set_enabled(lldb_watchpoint_t wp, int enabled) LLDB_WRAPPER_NOEXCEPT;
664
+ uint32_t lldb_watchpoint_get_hit_count(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
665
+ uint32_t lldb_watchpoint_get_ignore_count(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
666
+ void lldb_watchpoint_set_ignore_count(lldb_watchpoint_t wp, uint32_t count) LLDB_WRAPPER_NOEXCEPT;
667
+ const char* lldb_watchpoint_get_condition(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
668
+ void lldb_watchpoint_set_condition(lldb_watchpoint_t wp, const char* condition) LLDB_WRAPPER_NOEXCEPT;
669
+ uint64_t lldb_watchpoint_get_watch_address(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
670
+ size_t lldb_watchpoint_get_watch_size(lldb_watchpoint_t wp) LLDB_WRAPPER_NOEXCEPT;
671
+ lldb_ruby_status_t lldb_watchpoint_is_watching_reads(lldb_watchpoint_t wp, int* result) LLDB_WRAPPER_NOEXCEPT;
672
+ lldb_ruby_status_t lldb_watchpoint_is_watching_writes(lldb_watchpoint_t wp, int* result) LLDB_WRAPPER_NOEXCEPT;
356
673
 
357
674
  // SBCommandInterpreter
358
- void lldb_command_interpreter_destroy(lldb_command_interpreter_t interp);
359
- int lldb_command_interpreter_is_valid(lldb_command_interpreter_t interp);
675
+ void lldb_command_interpreter_destroy(lldb_command_interpreter_t interp) LLDB_WRAPPER_NOEXCEPT;
676
+ int lldb_command_interpreter_is_valid(lldb_command_interpreter_t interp) LLDB_WRAPPER_NOEXCEPT;
360
677
  int lldb_command_interpreter_handle_command(lldb_command_interpreter_t interp,
361
678
  const char* command,
362
679
  lldb_command_return_object_t result,
363
- int add_to_history);
364
- int lldb_command_interpreter_command_exists(lldb_command_interpreter_t interp, const char* command);
365
- int lldb_command_interpreter_alias_exists(lldb_command_interpreter_t interp, const char* alias);
680
+ int add_to_history) LLDB_WRAPPER_NOEXCEPT;
681
+ int lldb_command_interpreter_command_exists(lldb_command_interpreter_t interp, const char* command) LLDB_WRAPPER_NOEXCEPT;
682
+ int lldb_command_interpreter_alias_exists(lldb_command_interpreter_t interp, const char* alias) LLDB_WRAPPER_NOEXCEPT;
366
683
 
367
684
  // SBCommandReturnObject
368
- lldb_command_return_object_t lldb_command_return_object_create(void);
369
- void lldb_command_return_object_destroy(lldb_command_return_object_t obj);
370
- int lldb_command_return_object_is_valid(lldb_command_return_object_t obj);
371
- const char* lldb_command_return_object_get_output(lldb_command_return_object_t obj);
372
- const char* lldb_command_return_object_get_error(lldb_command_return_object_t obj);
373
- int lldb_command_return_object_succeeded(lldb_command_return_object_t obj);
374
- void lldb_command_return_object_clear(lldb_command_return_object_t obj);
375
-
376
- // State constants
377
- #define LLDB_STATE_INVALID 0
378
- #define LLDB_STATE_UNLOADED 1
379
- #define LLDB_STATE_CONNECTED 2
380
- #define LLDB_STATE_ATTACHING 3
381
- #define LLDB_STATE_LAUNCHING 4
382
- #define LLDB_STATE_STOPPED 5
383
- #define LLDB_STATE_RUNNING 6
384
- #define LLDB_STATE_STEPPING 7
385
- #define LLDB_STATE_CRASHED 8
386
- #define LLDB_STATE_DETACHED 9
387
- #define LLDB_STATE_EXITED 10
388
- #define LLDB_STATE_SUSPENDED 11
389
-
390
- // Stop reason constants
391
- #define LLDB_STOP_REASON_INVALID 0
392
- #define LLDB_STOP_REASON_NONE 1
393
- #define LLDB_STOP_REASON_TRACE 2
394
- #define LLDB_STOP_REASON_BREAKPOINT 3
395
- #define LLDB_STOP_REASON_WATCHPOINT 4
396
- #define LLDB_STOP_REASON_SIGNAL 5
397
- #define LLDB_STOP_REASON_EXCEPTION 6
398
- #define LLDB_STOP_REASON_EXEC 7
399
- #define LLDB_STOP_REASON_PLAN_COMPLETE 8
400
- #define LLDB_STOP_REASON_THREAD_EXITING 9
401
- #define LLDB_STOP_REASON_INSTRUMENTATION 10
402
-
403
- // Value type constants
404
- #define LLDB_VALUE_TYPE_INVALID 0
405
- #define LLDB_VALUE_TYPE_VARIABLE_GLOBAL 1
406
- #define LLDB_VALUE_TYPE_VARIABLE_STATIC 2
407
- #define LLDB_VALUE_TYPE_VARIABLE_ARGUMENT 3
408
- #define LLDB_VALUE_TYPE_VARIABLE_LOCAL 4
409
- #define LLDB_VALUE_TYPE_REGISTER 5
410
- #define LLDB_VALUE_TYPE_REGISTER_SET 6
411
- #define LLDB_VALUE_TYPE_CONSTANT_RESULT 7
412
-
413
- // Basic type constants
414
- #define LLDB_BASIC_TYPE_INVALID 0
415
- #define LLDB_BASIC_TYPE_VOID 1
416
- #define LLDB_BASIC_TYPE_CHAR 2
417
- #define LLDB_BASIC_TYPE_SIGNED_CHAR 3
418
- #define LLDB_BASIC_TYPE_UNSIGNED_CHAR 4
419
- #define LLDB_BASIC_TYPE_SHORT 6
420
- #define LLDB_BASIC_TYPE_UNSIGNED_SHORT 7
421
- #define LLDB_BASIC_TYPE_INT 8
422
- #define LLDB_BASIC_TYPE_UNSIGNED_INT 9
423
- #define LLDB_BASIC_TYPE_LONG 10
424
- #define LLDB_BASIC_TYPE_UNSIGNED_LONG 11
425
- #define LLDB_BASIC_TYPE_LONG_LONG 12
426
- #define LLDB_BASIC_TYPE_UNSIGNED_LONG_LONG 13
427
- #define LLDB_BASIC_TYPE_FLOAT 15
428
- #define LLDB_BASIC_TYPE_DOUBLE 16
429
- #define LLDB_BASIC_TYPE_LONG_DOUBLE 17
430
- #define LLDB_BASIC_TYPE_BOOL 20
685
+ lldb_command_return_object_t lldb_command_return_object_create(void) LLDB_WRAPPER_NOEXCEPT;
686
+ void lldb_command_return_object_destroy(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
687
+ int lldb_command_return_object_is_valid(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
688
+ const char* lldb_command_return_object_get_output(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
689
+ const char* lldb_command_return_object_get_error(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
690
+ int lldb_command_return_object_get_status(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
691
+ int lldb_command_return_object_succeeded(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
692
+ int lldb_command_return_object_has_result(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
693
+ void lldb_command_return_object_clear(lldb_command_return_object_t obj) LLDB_WRAPPER_NOEXCEPT;
431
694
 
432
695
  #ifdef __cplusplus
433
696
  }