@@ -317,65 +317,6 @@ uint32_t SymbolContext::GetResolvedMask() const {
317
317
return resolved_mask;
318
318
}
319
319
320
- void SymbolContext::Dump (Stream *s, Target *target) const {
321
- *s << this << " : " ;
322
- s->Indent ();
323
- s->PutCString (" SymbolContext" );
324
- s->IndentMore ();
325
- s->EOL ();
326
- s->IndentMore ();
327
- s->Indent ();
328
- *s << " Module = " << module_sp.get () << ' ' ;
329
- if (module_sp)
330
- module_sp->GetFileSpec ().Dump (s->AsRawOstream ());
331
- s->EOL ();
332
- s->Indent ();
333
- *s << " CompileUnit = " << comp_unit;
334
- if (comp_unit != nullptr )
335
- s->Format (" {{{0:x-16}} {1}" , comp_unit->GetID (),
336
- comp_unit->GetPrimaryFile ());
337
- s->EOL ();
338
- s->Indent ();
339
- *s << " Function = " << function;
340
- if (function != nullptr ) {
341
- s->Format (" {{{0:x-16}} {1}, address-range = " , function->GetID (),
342
- function->GetType ()->GetName ());
343
- function->GetAddressRange ().Dump (s, target, Address::DumpStyleLoadAddress,
344
- Address::DumpStyleModuleWithFileAddress);
345
- s->EOL ();
346
- s->Indent ();
347
- Type *func_type = function->GetType ();
348
- if (func_type) {
349
- *s << " Type = " ;
350
- func_type->Dump (s, false );
351
- }
352
- }
353
- s->EOL ();
354
- s->Indent ();
355
- *s << " Block = " << block;
356
- if (block != nullptr )
357
- s->Format (" {{{0:x-16}}" , block->GetID ());
358
- s->EOL ();
359
- s->Indent ();
360
- *s << " LineEntry = " ;
361
- line_entry.Dump (s, target, true , Address::DumpStyleLoadAddress,
362
- Address::DumpStyleModuleWithFileAddress, true );
363
- s->EOL ();
364
- s->Indent ();
365
- *s << " Symbol = " << symbol;
366
- if (symbol != nullptr && symbol->GetMangled ())
367
- *s << ' ' << symbol->GetName ().AsCString ();
368
- s->EOL ();
369
- *s << " Variable = " << variable;
370
- if (variable != nullptr ) {
371
- s->Format (" {{{0:x-16}} {1}" , variable->GetID (),
372
- variable->GetType ()->GetName ());
373
- s->EOL ();
374
- }
375
- s->IndentLess ();
376
- s->IndentLess ();
377
- }
378
-
379
320
bool lldb_private::operator ==(const SymbolContext &lhs,
380
321
const SymbolContext &rhs) {
381
322
return lhs.function == rhs.function && lhs.symbol == rhs.symbol &&
0 commit comments