Home
last modified time | relevance | path

Searched refs:CodeOffset (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNativeFunctionSymbol.cpp45 return Sym.CodeOffset; in getAddressOffset()
56 return Session.getRVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getRelativeVirtualAddress()
60 return Session.getVAFromSectOffset(Sym.Segment, Sym.CodeOffset); in getVirtualAddress()
67 uint32_t CodeOffset = 0; in inlineSiteContainsAddress() local
70 case BinaryAnnotationsOpCode::CodeOffset: in inlineSiteContainsAddress()
73 CodeOffset += Annot.U1; in inlineSiteContainsAddress()
74 if (OffsetInFunc >= CodeOffset) in inlineSiteContainsAddress()
78 CodeOffset += Annot.U1; in inlineSiteContainsAddress()
79 if (Found && OffsetInFunc < CodeOffset) in inlineSiteContainsAddress()
84 CodeOffset += Annot.U2; in inlineSiteContainsAddress()
[all …]
H A DNativeInlineSiteSymbol.cpp106 uint32_t CodeOffset = 0; in getLineOffset() local
114 CodeOffsetBase = CodeOffset; in getLineOffset()
152 case BinaryAnnotationsOpCode::CodeOffset: in getLineOffset()
155 CodeOffset += Annot.U1; in getLineOffset()
162 CodeOffset += Annot.U2; in getLineOffset()
170 CodeOffset += Annot.U1; in getLineOffset()
H A DSymbolCache.cpp365 if (Sect == PS.Segment && Offset >= PS.CodeOffset && in findFunctionSymbolBySectOffset()
366 Offset < PS.CodeOffset + PS.CodeSize) { in findFunctionSymbolBySectOffset()
368 auto Found = AddressToSymbolId.find({PS.Segment, PS.CodeOffset}); in findFunctionSymbolBySectOffset()
374 AddressToSymbolId.insert({{PS.Segment, PS.CodeOffset}, Id}); in findFunctionSymbolBySectOffset()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DLine.h93 int32_t CodeOffset;
98 Line(int32_t CodeOffset, uint32_t StartLine, uint32_t EndLine, in Line() argument
100 : CodeOffset(CodeOffset), LineInf(StartLine, EndLine, IsStatement), in Line()
103 Line(int32_t CodeOffset, LineInfo LineInf, ColumnInfo ColumnInf) in Line() argument
104 : CodeOffset(CodeOffset), LineInf(LineInf), ColumnInf(ColumnInf) {} in Line()
110 int32_t getCodeOffset() const { return CodeOffset; } in getCodeOffset()
H A DSymbolRecord.h61 uint32_t CodeOffset = 0; variable
296 case BinaryAnnotationsOpCode::CodeOffset: in ParseCurrentAnnotation()
648 uint32_t CodeOffset = 0; variable
668 uint32_t CodeOffset = 0; variable
845 uint32_t CodeOffset = 0; variable
866 uint32_t CodeOffset = 0; variable
887 uint32_t CodeOffset = 0; variable
1031 uint32_t CodeOffset = 0; variable
H A DCodeView.h478 CodeOffset, enumerator
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DMinimalSymbolDumper.cpp433 formatSegmentOffset(Block.Segment, Block.CodeOffset)); in visitKnownRecord()
506 formatSegmentOffset(CSI.Segment, CSI.CodeOffset)); in visitKnownRecord()
679 FC.CodeOffset, formatRegisterId(FC.Register, CompilationCPU), in visitKnownRecord()
706 formatSegmentOffset(HAS.Segment, HAS.CodeOffset), in visitKnownRecord()
719 uint32_t CodeOffset = 0; in visitKnownRecord() local
725 CodeOffset += Delta; in visitKnownRecord()
726 P.format(" code 0x{0} (+0x{1})", utohexstr(CodeOffset), utohexstr(Delta)); in visitKnownRecord()
730 P.format(" code end 0x{0} (+0x{1})", utohexstr(CodeOffset + Length), in visitKnownRecord()
743 case BinaryAnnotationsOpCode::CodeOffset: in visitKnownRecord()
755 CodeOffset += Annot.U1; in visitKnownRecord()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DWin64EH.h119 uint8_t CodeOffset; member
133 return (getOpInfo() << 8) | static_cast<uint32_t>(u.CodeOffset); in getEpilogOffset()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolDumper.cpp125 Block.CodeOffset, &LinkageName); in visitKnownRecord()
201 CallSiteInfo.CodeOffset, &LinkageName); in visitKnownRecord()
402 FrameCookie.CodeOffset, &LinkageName); in visitKnownRecord()
439 HeapAllocSite.CodeOffset, &LinkageName); in visitKnownRecord()
461 case BinaryAnnotationsOpCode::CodeOffset: in visitKnownRecord()
533 Label.CodeOffset, &LinkageName); in visitKnownRecord()
574 Proc.CodeOffset, &LinkageName); in visitKnownRecord()
651 W.printHex("Offset", Annot.CodeOffset); in visitKnownRecord()
H A DSymbolRecordMapping.cpp52 error(IO.mapInteger(Block.CodeOffset)); in visitKnownRecord()
136 error(IO.mapInteger(CallSiteInfo.CodeOffset)); in visitKnownRecord()
307 error(IO.mapInteger(FrameCookie.CodeOffset)); in visitKnownRecord()
331 error(IO.mapInteger(HeapAllocSite.CodeOffset)); in visitKnownRecord()
384 error(IO.mapInteger(Label.CodeOffset)); in visitKnownRecord()
417 error(IO.mapInteger(Proc.CodeOffset)); in visitKnownRecord()
477 error(IO.mapInteger(Annot.CodeOffset)); in visitKnownRecord()
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DCodeViewYAMLSymbols.cpp365 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
460 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
466 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
516 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
529 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
592 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DWin64EHDumper.cpp264 SW.startLine() << format("0x%02X: ", unsigned(UC[0].u.CodeOffset)) in printUnwindCode()
325 uint32_t Length = UC[0].u.CodeOffset; in printUnwindCode()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Readers/
H A DLVCodeViewVisitor.cpp787 ObjDelegate->getLinkageName(Block.getRelocationOffset(), Block.CodeOffset, in visitKnownRecord()
795 Reader->linearAddress(Block.Segment, Block.CodeOffset, Addendum); in visitKnownRecord()
1523 ObjDelegate->getLinkageName(Proc.getRelocationOffset(), Proc.CodeOffset, in visitKnownRecord()
1535 Reader->linearAddress(Proc.Segment, Proc.CodeOffset, Addendum); in visitKnownRecord()
3463 uint64_t CodeOffset = ParentLowPC; in inlineSiteAnnotation() local
3469 CodeOffset += Delta; in inlineSiteAnnotation()
3471 dbgs() << formatv(" code 0x{0} (+0x{1})", utohexstr(CodeOffset), in inlineSiteAnnotation()
3492 Line->setAddress(CodeOffset); in inlineSiteAnnotation()
3514 case BinaryAnnotationsOpCode::CodeOffset: in inlineSiteAnnotation()
3520 LowPC = CodeOffset; in inlineSiteAnnotation()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp450 size_t CodeOffset = DF->getContents().size(); in emitInstToData() local
459 Fixup.setOffset(Fixup.getOffset() + CodeOffset); in emitInstToData()
H A DMCObjectStreamer.cpp388 auto CodeOffset = DF->getContents().size(); in emitInstToData() local
390 Fixup.setOffset(Fixup.getOffset() + CodeOffset); in emitInstToData()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DWasm.h403 uint32_t CodeOffset; // start of Locals and Body member
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp262 outs() << format(" 0x%02x: ", unsigned(UCs[0].u.CodeOffset)) in printUnwindCode()
316 uint32_t Length = UCs[0].u.CodeOffset; in printUnwindCode()
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DPdbUtil.cpp365 return {record.Segment, record.CodeOffset}; in GetSegmentAndOffset()
445 return {record.Segment, record.CodeOffset, record.CodeSize}; in GetSegmentOffsetAndLength()
H A DSymbolFileNativePDB.cpp418 m_index->MakeVirtualAddress(block.Segment, block.CodeOffset); in CreateBlock()
1462 case BinaryAnnotationsOpCode::CodeOffset: in ParseInlineSite()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DWasmObjectFile.cpp1620 Function.CodeOffset = Ctx.Ptr - FunctionStart; in parseCodeSection()