Home
last modified time | relevance | path

Searched refs:CompileUnit (Results 1 – 25 of 94) sorted by relevance

1234

/external/llvm-project/lldb/source/Symbol/
DCompileUnit.cpp20 CompileUnit::CompileUnit(const lldb::ModuleSP &module_sp, void *user_data, in CompileUnit() function in CompileUnit
24 : CompileUnit(module_sp, user_data, FileSpec(pathname), cu_sym_id, language, in CompileUnit()
27 CompileUnit::CompileUnit(const lldb::ModuleSP &module_sp, void *user_data, in CompileUnit() function in CompileUnit
39 void CompileUnit::CalculateSymbolContext(SymbolContext *sc) { in CalculateSymbolContext()
44 ModuleSP CompileUnit::CalculateSymbolContextModule() { return GetModule(); } in CalculateSymbolContextModule()
46 CompileUnit *CompileUnit::CalculateSymbolContextCompileUnit() { return this; } in CalculateSymbolContextCompileUnit()
48 void CompileUnit::DumpSymbolContext(Stream *s) { in DumpSymbolContext()
53 void CompileUnit::GetDescription(Stream *s, in GetDescription()
60 void CompileUnit::ForeachFunction( in ForeachFunction()
76 lldb::FunctionSP CompileUnit::FindFunction( in FindFunction()
[all …]
/external/llvm-project/llvm/lib/DWARFLinker/
DDWARFLinkerCompileUnit.cpp15 static bool inFunctionScope(CompileUnit &U, unsigned Idx) { in inFunctionScope()
24 uint16_t CompileUnit::getLanguage() { in getLanguage()
32 StringRef CompileUnit::getSysRoot() { in getSysRoot()
40 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
72 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
83 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference()
88 void CompileUnit::fixupForwardReferences() { in fixupForwardReferences()
91 const CompileUnit *RefUnit; in fixupForwardReferences()
102 void CompileUnit::addLabelLowPc(uint64_t LabelLowPc, int64_t PcOffset) { in addLabelLowPc()
106 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc, in addFunctionRange()
[all …]
DDWARFLinker.cpp54 static CompileUnit *getUnitForOffset(const UnitListTy &Units, uint64_t Offset) { in getUnitForOffset()
57 [](uint64_t LHS, const std::unique_ptr<CompileUnit> &RHS) { in getUnitForOffset()
70 CompileUnit *&RefCU) { in resolveDIEReference()
209 const DWARFDie &DIE, CompileUnit &CU, in analyzeImportedModule()
260 CompileUnit::DIEInfo *OtherInfo;
267 CompileUnit::DIEInfo *OtherInfo = nullptr) in ContextWorklistItem()
278 static bool updatePruning(const DWARFDie &Die, CompileUnit &CU, in updatePruning()
280 CompileUnit::DIEInfo &Info = CU.getInfo(Die); in updatePruning()
300 static void updateChildPruning(const DWARFDie &Die, CompileUnit &CU, in updateChildPruning()
301 CompileUnit::DIEInfo &ChildInfo) { in updateChildPruning()
[all …]
/external/llvm-project/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h74 CompileUnit::DIEInfo &Info) = 0;
143 virtual void emitUnitRangesEntries(CompileUnit &Unit,
158 virtual void emitPubNamesForUnit(const CompileUnit &Unit) = 0;
161 virtual void emitPubTypesForUnit(const CompileUnit &Unit) = 0;
174 const CompileUnit &Unit, DWARFContext &Dwarf,
183 virtual void emitCompileUnitHeader(CompileUnit &Unit) = 0;
201 using UnitListTy = std::vector<std::unique_ptr<CompileUnit>>;
358 CompileUnit &CU;
362 CompileUnit::DIEInfo *OtherInfo;
365 WorklistItem(DWARFDie Die, CompileUnit &CU, unsigned Flags,
[all …]
DDWARFStreamer.h67 void emitCompileUnitHeader(CompileUnit &Unit) override;
99 void emitUnitRangesEntries(CompileUnit &Unit, bool DoRangesSection) override;
107 const CompileUnit &Unit, DWARFContext &Dwarf,
124 void emitPubNamesForUnit(const CompileUnit &Unit) override;
127 void emitPubTypesForUnit(const CompileUnit &Unit) override;
210 const CompileUnit &Unit,
211 const std::vector<CompileUnit::AccelInfo> &Names);
DDWARFLinkerCompileUnit.h50 class CompileUnit {
79 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit() function
168 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
278 std::tuple<DIE *, const CompileUnit *, DeclContext *, PatchLocation>>
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DWARFLinker/
DDWARFLinkerCompileUnit.cpp15 static bool inFunctionScope(CompileUnit &U, unsigned Idx) { in inFunctionScope()
24 uint16_t CompileUnit::getLanguage() { in getLanguage()
32 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
64 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
75 void CompileUnit::noteForwardReference(DIE *Die, const CompileUnit *RefUnit, in noteForwardReference()
80 void CompileUnit::fixupForwardReferences() { in fixupForwardReferences()
83 const CompileUnit *RefUnit; in fixupForwardReferences()
94 void CompileUnit::addLabelLowPc(uint64_t LabelLowPc, int64_t PcOffset) { in addLabelLowPc()
98 void CompileUnit::addFunctionRange(uint64_t FuncLowPc, uint64_t FuncHighPc, in addFunctionRange()
109 void CompileUnit::noteRangeAttribute(const DIE &Die, PatchLocation Attr) { in noteRangeAttribute()
[all …]
/external/llvm-project/lldb/include/lldb/Symbol/
DCompileUnit.h37 class CompileUnit : public std::enable_shared_from_this<CompileUnit>,
76 CompileUnit(const lldb::ModuleSP &module_sp, void *user_data,
115 CompileUnit(const lldb::ModuleSP &module_sp, void *user_data,
135 CompileUnit *CalculateSymbolContextCompileUnit() override;
450 CompileUnit(const CompileUnit &) = delete;
451 const CompileUnit &operator=(const CompileUnit &) = delete;
DSymbolFile.h131 virtual lldb::LanguageType ParseLanguage(CompileUnit &comp_unit) = 0;
133 virtual XcodeSDK ParseXcodeSDK(CompileUnit &comp_unit) { return {}; } in ParseXcodeSDK()
134 virtual size_t ParseFunctions(CompileUnit &comp_unit) = 0;
135 virtual bool ParseLineTable(CompileUnit &comp_unit) = 0;
136 virtual bool ParseDebugMacros(CompileUnit &comp_unit) = 0;
165 lldb_private::CompileUnit &comp_unit, in ForEachExternalModule()
170 virtual bool ParseSupportFiles(CompileUnit &comp_unit,
172 virtual size_t ParseTypes(CompileUnit &comp_unit) = 0;
173 virtual bool ParseIsOptimized(CompileUnit &comp_unit) { return false; } in ParseIsOptimized()
DFunction.h443 Function(CompileUnit *comp_unit, lldb::user_id_t func_uid,
457 CompileUnit *CalculateSymbolContextCompileUnit() override;
513 CompileUnit *GetCompileUnit();
519 const CompileUnit *GetCompileUnit() const;
646 CompileUnit *m_comp_unit;
/external/llvm-project/lldb/include/lldb/API/
DSBCompileUnit.h80 SBCompileUnit(lldb_private::CompileUnit *lldb_object_ptr);
82 const lldb_private::CompileUnit *operator->() const;
84 const lldb_private::CompileUnit &operator*() const;
86 lldb_private::CompileUnit *get();
88 void reset(lldb_private::CompileUnit *lldb_object_ptr);
90 lldb_private::CompileUnit *m_opaque_ptr;
/external/llvm/tools/dsymutil/
DDwarfLinker.cpp76 class CompileUnit;
128 bool setLastSeenDIE(CompileUnit &U, const DWARFDebugInfoEntryMinimal *Die);
176 const DWARFDebugInfoEntryMinimal *DIE, CompileUnit &Unit,
185 class CompileUnit { class
198 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit() function in llvm::dsymutil::__anondabe43b60111::CompileUnit
214 CompileUnit(CompileUnit &&RHS) in CompileUnit() function in llvm::dsymutil::__anondabe43b60111::CompileUnit
275 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
350 std::vector<std::tuple<DIE *, const CompileUnit *, DeclContext *,
393 void CompileUnit::markEverythingAsKept() { in markEverythingAsKept()
399 uint64_t CompileUnit::computeNextUnitOffset() { in computeNextUnitOffset()
[all …]
/external/llvm-project/lldb/source/Plugins/SymbolFile/Symtab/
DSymbolFileSymtab.h50 ParseLanguage(lldb_private::CompileUnit &comp_unit) override;
52 size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
54 bool ParseLineTable(lldb_private::CompileUnit &comp_unit) override;
56 bool ParseDebugMacros(lldb_private::CompileUnit &comp_unit) override;
58 bool ParseSupportFiles(lldb_private::CompileUnit &comp_unit,
61 size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
DSymbolFileSymtab.cpp127 cu_sp = std::make_shared<CompileUnit>(m_objfile_sp->GetModule(), nullptr, in ParseCompileUnitAtIndex()
134 lldb::LanguageType SymbolFileSymtab::ParseLanguage(CompileUnit &comp_unit) { in ParseLanguage()
138 size_t SymbolFileSymtab::ParseFunctions(CompileUnit &comp_unit) { in ParseFunctions()
209 size_t SymbolFileSymtab::ParseTypes(CompileUnit &comp_unit) { return 0; } in ParseTypes()
211 bool SymbolFileSymtab::ParseLineTable(CompileUnit &comp_unit) { return false; } in ParseLineTable()
213 bool SymbolFileSymtab::ParseDebugMacros(CompileUnit &comp_unit) { in ParseDebugMacros()
217 bool SymbolFileSymtab::ParseSupportFiles(CompileUnit &comp_unit, in ParseSupportFiles()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/DWARFLinker/
DDWARFLinker.h67 CompileUnit::DIEInfo &Info) = 0;
138 virtual void emitUnitRangesEntries(CompileUnit &Unit,
153 virtual void emitPubNamesForUnit(const CompileUnit &Unit) = 0;
156 virtual void emitPubTypesForUnit(const CompileUnit &Unit) = 0;
169 const CompileUnit &Unit, DWARFContext &Dwarf,
178 virtual void emitCompileUnitHeader(CompileUnit &Unit) = 0;
DDWARFLinkerCompileUnit.h50 class CompileUnit {
79 CompileUnit(DWARFUnit &OrigUnit, unsigned ID, bool CanUseODR, in CompileUnit() function
164 void noteForwardReference(DIE *Die, const CompileUnit *RefUnit,
274 std::tuple<DIE *, const CompileUnit *, DeclContext *, PatchLocation>>
/external/llvm-project/llvm/unittests/DebugInfo/DWARF/
DDwarfGenerator.h49 class CompileUnit; variable
58 dwarfgen::CompileUnit *CU;
63 friend class CompileUnit; variable
65 DIE(CompileUnit *U = nullptr, llvm::DIE *D = nullptr) : CU(U), Die(D) {} in CU()
149 class CompileUnit {
157 CompileUnit(Generator &D, uint16_t V, uint8_t A) in CompileUnit() function
257 std::vector<std::unique_ptr<CompileUnit>> CompileUnits;
299 dwarfgen::CompileUnit &addCompileUnit();
/external/llvm-project/lldb/source/Plugins/SymbolFile/DWARF/
DSymbolFileDWARFDebugMap.h59 ParseLanguage(lldb_private::CompileUnit &comp_unit) override;
61 ParseXcodeSDK(lldb_private::CompileUnit &comp_unit) override;
62 size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
63 bool ParseLineTable(lldb_private::CompileUnit &comp_unit) override;
64 bool ParseDebugMacros(lldb_private::CompileUnit &comp_unit) override;
67 lldb_private::CompileUnit &, llvm::DenseSet<lldb_private::SymbolFile *> &,
70 bool ParseSupportFiles(lldb_private::CompileUnit &comp_unit,
73 bool ParseIsOptimized(lldb_private::CompileUnit &comp_unit) override;
75 size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
205 CompileUnitInfo *GetCompUnitInfo(const lldb_private::CompileUnit &comp_unit);
[all …]
DSymbolFileDWARF.h107 ParseLanguage(lldb_private::CompileUnit &comp_unit) override;
110 ParseXcodeSDK(lldb_private::CompileUnit &comp_unit) override;
112 size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
114 bool ParseLineTable(lldb_private::CompileUnit &comp_unit) override;
116 bool ParseDebugMacros(lldb_private::CompileUnit &comp_unit) override;
119 lldb_private::CompileUnit &, llvm::DenseSet<lldb_private::SymbolFile *> &,
122 bool ParseSupportFiles(lldb_private::CompileUnit &comp_unit,
125 bool ParseIsOptimized(lldb_private::CompileUnit &comp_unit) override;
127 size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
240 lldb_private::CompileUnit *
[all …]
DDWARFASTParser.h20 class CompileUnit; variable
34 ParseFunctionFromDWARF(lldb_private::CompileUnit &comp_unit,
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DSymbolFileNativePDB.h84 ParseLanguage(lldb_private::CompileUnit &comp_unit) override;
86 size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
88 bool ParseLineTable(lldb_private::CompileUnit &comp_unit) override;
90 bool ParseDebugMacros(lldb_private::CompileUnit &comp_unit) override;
92 bool ParseSupportFiles(lldb_private::CompileUnit &comp_unit,
94 size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
202 CompileUnit &comp_unit);
214 CompileUnit &comp_unit);
225 size_t ParseVariablesForCompileUnit(CompileUnit &comp_unit,
/external/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
DSymbolFileBreakpad.h62 lldb::LanguageType ParseLanguage(CompileUnit &comp_unit) override { in ParseLanguage()
66 size_t ParseFunctions(CompileUnit &comp_unit) override;
68 bool ParseLineTable(CompileUnit &comp_unit) override;
70 bool ParseDebugMacros(CompileUnit &comp_unit) override { return false; } in ParseDebugMacros()
72 bool ParseSupportFiles(CompileUnit &comp_unit,
74 size_t ParseTypes(CompileUnit &cu) override { return 0; } in ParseTypes()
214 void ParseLineTableAndSupportFiles(CompileUnit &cu, CompUnitData &data);
/external/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
DSymbolFilePDB.h63 ParseLanguage(lldb_private::CompileUnit &comp_unit) override;
65 size_t ParseFunctions(lldb_private::CompileUnit &comp_unit) override;
67 bool ParseLineTable(lldb_private::CompileUnit &comp_unit) override;
69 bool ParseDebugMacros(lldb_private::CompileUnit &comp_unit) override;
71 bool ParseSupportFiles(lldb_private::CompileUnit &comp_unit,
74 size_t ParseTypes(lldb_private::CompileUnit &comp_unit) override;
190 bool ParseCompileUnitLineTable(lldb_private::CompileUnit &comp_unit,
222 lldb_private::CompileUnit &comp_unit);
/external/llvm-project/lldb/source/API/
DSBCompileUnit.cpp28 SBCompileUnit::SBCompileUnit(lldb_private::CompileUnit *lldb_object_ptr) in SBCompileUnit()
212 const lldb_private::CompileUnit *SBCompileUnit::operator->() const { in operator ->()
216 const lldb_private::CompileUnit &SBCompileUnit::operator*() const { in operator *()
220 lldb_private::CompileUnit *SBCompileUnit::get() { return m_opaque_ptr; } in get()
222 void SBCompileUnit::reset(lldb_private::CompileUnit *lldb_object_ptr) { in reset()
/external/llvm-project/lldb/test/Shell/SymbolFile/DWARF/
Ddwp.s15 # CHECK: CompileUnit: id = {0x00000001}, file = "1.c", language = "unknown"
20 # SYMBOLS-NEXT: CompileUnit{0x00000000}, language = "unknown", file = '0.c'
27 # SYMBOLS-NEXT: CompileUnit{0x00000001}, language = "unknown", file = '1.c'
34 # SYMBOLS-NEXT: CompileUnit{0x00000002}, language = "unknown", file = '2.c'
41 # SYMBOLS-NEXT: CompileUnit{0x00000003}, language = "unknown", file = '3.c'
48 # SYMBOLS-NEXT: CompileUnit{0x00000004}, language = "unknown", file = ''

1234