Lines Matching refs:symbol
10 #include "lldb/Symbol/SymbolContext.h"
17 #include "lldb/Symbol/Block.h"
18 #include "lldb/Symbol/ClangASTContext.h"
19 #include "lldb/Symbol/CompileUnit.h"
20 #include "lldb/Symbol/ObjectFile.h"
21 #include "lldb/Symbol/Symbol.h"
22 #include "lldb/Symbol/SymbolFile.h"
23 #include "lldb/Symbol/SymbolVendor.h"
36 symbol (NULL)
40 SymbolContext::SymbolContext(const ModuleSP& m, CompileUnit *cu, Function *f, Block *b, LineEntry *le, Symbol *s) :
47 symbol (s)
53 SymbolContext::SymbolContext(const TargetSP &t, const ModuleSP& m, CompileUnit *cu, Function *f, Block *b, LineEntry *le, Symbol *s) :
60 symbol (s)
73 symbol (rhs.symbol)
85 symbol (NULL)
105 symbol = rhs.symbol;
120 symbol = NULL;
205 else if (symbol != NULL)
207 if (symbol->GetMangled().GetName())
210 if (symbol->GetType() == eSymbolTypeTrampoline)
211 s->PutCString("symbol stub for: ");
212 symbol->GetMangled().GetName().Dump(s);
215 if (addr.IsValid() && symbol->ValueIsAddress())
217 const addr_t symbol_offset = addr.GetOffset() - symbol->GetAddress().GetOffset();
300 if (symbol != NULL)
302 s->Indent(" Symbol: ");
303 symbol->GetDescription(s, level, target);
318 if (symbol) resolved_mask |= eSymbolContextSymbol;
370 *s << "Symbol = " << (void *)symbol;
371 if (symbol != NULL && symbol->GetMangled())
372 *s << ' ' << symbol->GetMangled().GetName().AsCString();
382 && lhs.symbol == rhs.symbol
393 || lhs.symbol != rhs.symbol
435 if ((scope & eSymbolContextSymbol) && (symbol != NULL))
439 if (symbol->ValueIsAddress())
441 range.GetBaseAddress() = symbol->GetAddress();
442 range.SetByteSize (symbol->GetByteSize());
474 // Now calculate the symbol context of the containing block
547 // If this symbol context has a block, check to see if this block
555 // The block in this symbol context is not inside an inlined
560 // There is no block information in this symbol context, so we must
612 else if (symbol && symbol->ValueIsAddress())
614 return symbol->GetMangled().GetName(preference);
846 // If it wasn't inlined, check the name in the function or symbol:
854 else if (sc.symbol != NULL)
856 if (!sc.symbol->GetMangled().NameMatches(func_name))
1016 && sc.symbol != NULL
1022 if (sc.symbol->ValueIsAddress())
1026 // Don't merge symbols into inlined function symbol contexts
1032 if (pos->function->GetAddressRange().GetBaseAddress() == sc.symbol->GetAddress())
1034 // Do we already have a function with this symbol?
1035 if (pos->symbol == sc.symbol)
1037 if (pos->symbol == NULL)
1039 pos->symbol = sc.symbol;
1056 if (symbol_sc.symbol != NULL
1062 if (symbol_sc.symbol->ValueIsAddress())
1068 // Don't merge symbols into inlined function symbol contexts
1074 if (function_sc.function->GetAddressRange().GetBaseAddress() == symbol_sc.symbol->GetAddress())
1076 // Do we already have a function with this symbol?
1077 if (function_sc.symbol == symbol_sc.symbol)
1078 return true; // Already have a symbol context with this symbol, return true
1080 if (function_sc.symbol == NULL)
1082 // We successfully merged this symbol into an existing symbol context
1083 m_symbol_contexts[i].symbol = symbol_sc.symbol;