@@ -87,7 +87,7 @@ class EntityREPLResultVariable : public Materializer::Entity {
87
87
}
88
88
89
89
void Materialize (lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
90
- lldb::addr_t process_address, Status &err) {
90
+ lldb::addr_t process_address, Status &err) override {
91
91
// no action required
92
92
}
93
93
@@ -194,7 +194,7 @@ class EntityREPLResultVariable : public Materializer::Entity {
194
194
195
195
void Dematerialize (lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
196
196
lldb::addr_t process_address, lldb::addr_t frame_top,
197
- lldb::addr_t frame_bottom, Status &err) {
197
+ lldb::addr_t frame_bottom, Status &err) override {
198
198
IRExecutionUnit *execution_unit =
199
199
llvm::cast<SwiftREPLMaterializer>(m_parent)->GetExecutionUnit ();
200
200
@@ -231,7 +231,8 @@ class EntityREPLResultVariable : public Materializer::Entity {
231
231
" Couldn't dematerialize result: corresponding symbol wasn't found" );
232
232
}
233
233
234
- void DumpToLog (IRMemoryMap &map, lldb::addr_t process_address, Log *log) {
234
+ void DumpToLog (IRMemoryMap &map, lldb::addr_t process_address,
235
+ Log *log) override {
235
236
StreamString dump_stream;
236
237
237
238
const lldb::addr_t load_addr = process_address + m_offset;
@@ -293,7 +294,7 @@ class EntityREPLResultVariable : public Materializer::Entity {
293
294
log->PutCString (dump_stream.GetData ());
294
295
}
295
296
296
- void Wipe (IRMemoryMap &map, lldb::addr_t process_address) {
297
+ void Wipe (IRMemoryMap &map, lldb::addr_t process_address) override {
297
298
m_temporary_allocation = LLDB_INVALID_ADDRESS;
298
299
m_temporary_allocation_size = 0 ;
299
300
}
@@ -337,13 +338,13 @@ class EntityREPLPersistentVariable : public Materializer::Entity {
337
338
}
338
339
339
340
void Materialize (lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
340
- lldb::addr_t process_address, Status &err) {
341
+ lldb::addr_t process_address, Status &err) override {
341
342
// no action required
342
343
}
343
344
344
345
void Dematerialize (lldb::StackFrameSP &frame_sp, IRMemoryMap &map,
345
346
lldb::addr_t process_address, lldb::addr_t frame_top,
346
- lldb::addr_t frame_bottom, Status &err) {
347
+ lldb::addr_t frame_bottom, Status &err) override {
347
348
if (llvm::cast<SwiftExpressionVariable>(m_persistent_variable_sp.get ())
348
349
->GetIsComputed ())
349
350
return ;
@@ -432,7 +433,8 @@ class EntityREPLPersistentVariable : public Materializer::Entity {
432
433
m_persistent_variable_sp->GetName ().GetCString ());
433
434
}
434
435
435
- void DumpToLog (IRMemoryMap &map, lldb::addr_t process_address, Log *log) {
436
+ void DumpToLog (IRMemoryMap &map, lldb::addr_t process_address,
437
+ Log *log) override {
436
438
StreamString dump_stream;
437
439
438
440
Status err;
@@ -491,7 +493,7 @@ class EntityREPLPersistentVariable : public Materializer::Entity {
491
493
log->PutCString (dump_stream.GetData ());
492
494
}
493
495
494
- void Wipe (IRMemoryMap &map, lldb::addr_t process_address) {}
496
+ void Wipe (IRMemoryMap &map, lldb::addr_t process_address) override {}
495
497
496
498
private:
497
499
lldb::ExpressionVariableSP m_persistent_variable_sp;
0 commit comments