Home
last modified time | relevance | path

Searched refs:RVA (Results 1 – 25 of 41) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/
H A DPDBSymbolData.cpp23 if (auto RVA = RawSymbol->getRelativeVirtualAddress()) in getLineNumbers() local
24 return Session.findLineNumbersByRVA(RVA, Len); in getLineNumbers()
42 if (auto RVA = RawSymbol->getRelativeVirtualAddress()) in getCompilandId() local
43 Session.addressForRVA(RVA, DataSection, DataOffset); in getCompilandId()
H A DPDBSymbol.cpp159 PDB_NameSearchFlags Flags, uint32_t RVA) const { in findChildrenByRVA()
160 return RawSymbol->findChildrenByRVA(Type, Name, Flags, RVA); in findChildrenByRVA()
169 PDBSymbol::findInlineFramesByRVA(uint32_t RVA) const { in findInlineFramesByRVA()
170 return RawSymbol->findInlineFramesByRVA(RVA); in findInlineFramesByRVA()
179 PDBSymbol::findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const { in findInlineeLinesByRVA() argument
180 return RawSymbol->findInlineeLinesByRVA(RVA, Length); in findInlineeLinesByRVA()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeSession.cpp221 uint32_t RVA = VA - getLoadAddress(); in addressForVA() local
222 return addressForRVA(RVA, Section, Offset); in addressForVA()
225 bool NativeSession::addressForRVA(uint32_t RVA, uint32_t &Section, in addressForRVA() argument
234 if ((int32_t)RVA < 0) in addressForRVA()
237 Offset = RVA; in addressForRVA()
240 if (RVA < Sec.VirtualAddress) in addressForRVA()
242 Offset = RVA - Sec.VirtualAddress; in addressForRVA()
255 std::unique_ptr<PDBSymbol> NativeSession::findSymbolByRVA(uint32_t RVA, in findSymbolByRVA() argument
259 addressForRVA(RVA, Section, Offset); in findSymbolByRVA()
285 NativeSession::findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const { in findLineNumbersByRVA() argument
[all …]
H A DNativeRawSymbol.cpp55 PDB_NameSearchFlags Flags, uint32_t RVA) const { in findChildrenByRVA()
66 NativeRawSymbol::findInlineFramesByRVA(uint32_t RVA) const { in findInlineFramesByRVA()
87 NativeRawSymbol::findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const { in findInlineeLinesByRVA() argument
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/DIA/
H A DDIASession.cpp171 bool DIASession::addressForRVA(uint32_t RVA, uint32_t &Section, in addressForRVA() argument
174 if (S_OK == Session->addressForRVA(RVA, &ArgSection, &ArgOffset)) { in addressForRVA()
201 DWORD RVA = static_cast<DWORD>(Address - LoadAddr); in findSymbolByAddress() local
202 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByAddress()
209 std::unique_ptr<PDBSymbol> DIASession::findSymbolByRVA(uint32_t RVA, in findSymbolByRVA() argument
214 if (S_OK != Session->findSymbolByRVA(RVA, EnumVal, &Symbol)) in findSymbolByRVA()
256 DWORD RVA = static_cast<DWORD>(Address - LoadAddr); in findLineNumbersByAddress() local
257 if (S_OK != Session->findLinesByRVA(RVA, Length, &LineNumbers)) in findLineNumbersByAddress()
264 DIASession::findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const { in findLineNumbersByRVA() argument
266 if (S_OK != Session->findLinesByRVA(RVA, Length, &LineNumbers)) in findLineNumbersByRVA()
H A DDIALineNumber.cpp48 DWORD RVA = 0; in getRelativeVirtualAddress() local
49 return (S_OK == LineNumber->get_relativeVirtualAddress(&RVA)) ? RVA : 0; in getRelativeVirtualAddress()
H A DDIARawSymbol.cpp470 PDB_NameSearchFlags Flags, uint32_t RVA) const { in findChildrenByRVA()
479 if (S_OK != Symbol->findChildrenExByRVA(EnumVal, Name16Str, CompareFlags, RVA, in findChildrenByRVA()
496 DIARawSymbol::findInlineFramesByRVA(uint32_t RVA) const { in findInlineFramesByRVA()
498 if (S_OK != Symbol->findInlineFramesByRVA(RVA, &DiaEnumerator)) in findInlineFramesByRVA()
533 DIARawSymbol::findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const { in findInlineeLinesByRVA() argument
535 if (S_OK != Symbol->findInlineeLinesByRVA(RVA, Length, &DiaEnumerator)) in findInlineeLinesByRVA()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFObjectFile.cpp506 Error COFFObjectFile::getRvaAndSizeAsBytes(uint32_t RVA, uint32_t Size, in getRvaAndSizeAsBytes() argument
514 uint32_t OffsetIntoSection = RVA - SectionStart; in getRvaAndSizeAsBytes()
515 if (SectionStart <= RVA && OffsetIntoSection < Section->VirtualSize && in getRvaAndSizeAsBytes()
526 "RVA 0x%" PRIx32 " for %s not found", RVA, in getRvaAndSizeAsBytes()
529 "RVA 0x%" PRIx32 " not found", RVA); in getRvaAndSizeAsBytes()
610 uint32_t RVA = DataEntry->RelativeVirtualAddress; in initDelayImportTablePtr() local
615 if (Error E = getRvaPtr(RVA, IntPtr, "delay import table")) in initDelayImportTablePtr()
1533 uint32_t RVA = reloc.getRVA(); in getHybridObjectView() local
1536 if (RVA & ~0xfff) { in getHybridObjectView()
1537 cantFail(getRvaPtr(RVA, IntPtr)); in getHybridObjectView()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/DIA/
H A DDIASession.h38 bool addressForRVA(uint32_t RVA, uint32_t &Section,
43 std::unique_ptr<PDBSymbol> findSymbolByRVA(uint32_t RVA,
55 findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const override;
H A DDIARawSymbol.h41 uint32_t RVA) const override;
46 findInlineFramesByRVA(uint32_t RVA) const override;
55 findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const override;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/
H A DIPDBSession.h38 virtual bool addressForRVA(uint32_t RVA, uint32_t &Section,
48 virtual std::unique_ptr<PDBSymbol> findSymbolByRVA(uint32_t RVA,
59 findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const = 0;
H A DPDBSymbol.h144 uint32_t RVA) const;
146 std::unique_ptr<IPDBEnumSymbols> findInlineFramesByRVA(uint32_t RVA) const;
150 findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const;
H A DIPDBRawSymbol.h68 uint32_t RVA) const = 0;
73 findInlineFramesByRVA(uint32_t RVA) const = 0;
82 findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const = 0;
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSymbolRVASubsection.h56 void addRVA(uint32_t RVA) { RVAs.push_back(support::ulittle32_t(RVA)); } in addRVA() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DNativeSession.h59 bool addressForRVA(uint32_t RVA, uint32_t &Section,
64 std::unique_ptr<PDBSymbol> findSymbolByRVA(uint32_t RVA,
76 findLineNumbersByRVA(uint32_t RVA, uint32_t Length) const override;
H A DNativeRawSymbol.h47 uint32_t RVA) const override;
52 findInlineFramesByRVA(uint32_t RVA) const override;
61 findInlineeLinesByRVA(uint32_t RVA, uint32_t Length) const override;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Breakpad/
H A DBreakpadRecords.h213 StackWinRecord(lldb::addr_t RVA, lldb::addr_t CodeSize, in StackWinRecord() argument
216 : Record(StackWin), RVA(RVA), CodeSize(CodeSize), in StackWinRecord()
221 lldb::addr_t RVA; variable
H A DBreakpadRecords.cpp504 lldb::addr_t RVA; in parse()
506 if (!to_integer(Str, RVA, 16)) in parse()
543 return StackWinRecord(RVA, CodeSize, ParameterSize, SavedRegisterSize, in parse()
548 return L.RVA == R.RVA && L.CodeSize == R.CodeSize && in operator ==()
557 "STACK WIN 4 {0:x-} {1:x-} ? ? {2} {3} {4} ? 1 {5}", R.RVA, in operator <<()
503 lldb::addr_t RVA; parse() local
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp484 Expected<uint32_t> COFFWriter::virtualAddressToFileAddress(uint32_t RVA) { in virtualAddressToFileAddress() argument
486 if (RVA >= S.Header.VirtualAddress && in virtualAddressToFileAddress()
487 RVA < S.Header.VirtualAddress + S.Header.SizeOfRawData) in virtualAddressToFileAddress()
488 return S.Header.PointerToRawData + RVA - S.Header.VirtualAddress; in virtualAddressToFileAddress()
H A DCOFFWriter.h50 Expected<uint32_t> virtualAddressToFileAddress(uint32_t RVA);
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/Minidump/
H A DMinidumpFileBuilder.cpp123 loc.RVA = static_cast<llvm::support::ulittle32_t>(GetCurrentDataEndOffset()); in AddDirectory()
368 ld.RVA = static_cast<llvm::support::ulittle32_t>(0u); in AddModuleList()
375 ld_cv.RVA = static_cast<llvm::support::ulittle32_t>( in AddModuleList()
656 empty_label.RVA = 0; in AddThreadList()
662 thread_context_memory_locator.RVA = static_cast<llvm::support::ulittle32_t>( in AddThreadList()
733 exp_stream.ThreadContext.RVA = 0; in AddExceptions()
1082 descriptor.Memory.RVA = in AddMemoryList_32()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp200 Result.Location.RVA = File.tell(); in layout()
250 DataEnd.value_or(File.tell()) - Result.Location.RVA; in layout()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp573 uint32_t RVA; in printExportTable() local
574 if (I->getExportRVA(RVA)) in printExportTable()
579 if (!RVA && Name.empty()) in printExportTable()
595 outs() << format(" %5d %# 8x", Ordinal, RVA); in printExportTable()
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DMinidump.h43 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); in getRawStream()
55 return getDataSlice(getData(), Desc.RVA, Desc.DataSize); in getRawData()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFAArch64.h317 uint64_t RVA = Value + RE.Addend - getImageBase(); in resolveRelocation() local
318 write32le(Target, RVA); in resolveRelocation()

12