Lines Matching +full:offset +full:- +full:x
1 //===- Win64EHDumper.cpp - Win64 EH Printer ---------------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
10 #include "llvm-readobj.h"
46 - reinterpret_cast<const char*>(&UI);
144 uint32_t Offset = CoffSym.getValue() + SymbolOffset - CS.getValue();
145 // For the end of a range, don't pick a symbol with a zero offset;
146 // prefer a symbol with a small positive offset.
147 if (Offset <= SymbolOffset && (!IsRangeEnd || Offset > 0)) {
148 SymbolOffset = Offset;
160 const coff_section *Section, uint64_t Offset,
167 if (!Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData)) {
168 // We found a relocation at the given offset in the section, pointing
178 OS << format(" +0x%X (0x%" PRIX64 ")", Displacement, Offset);
180 OS << format(" (0x%" PRIX64 ")", Offset);
191 OS << format(" (0x%" PRIX64 ")", Ctx.COFF.getImageBase() + Displacement);
199 OS << format("(0x%" PRIX64 ")", Ctx.COFF.getImageBase() + Displacement);
201 OS << format("(0x%" PRIX64 ")", Offset);
207 uint64_t Offset,
212 Ctx.ResolveSymbol(Section, Offset, Symbol, Ctx.UserData))
233 if (VA >= Address && (VA - Address) <= Size)
243 uint64_t Offset,
246 formatSymbol(Ctx, Section, Offset + 0, RF.StartAddress));
248 formatSymbol(Ctx, Section, Offset + 4, RF.EndAddress,
251 formatSymbol(Ctx, Section, Offset + 8, RF.UnwindInfoOffset));
260 SW.startLine() << format("0x%02X: ", unsigned(UC[0].u.CodeOffset))
283 << format(", offset=0x%X", UI.getFrameOffset() * 16);
288 << format(", offset=0x%X", UC[1].FrameOffset * 8);
293 << format(", offset=0x%X", getLargeSlotValue(UC));
298 << format(", offset=0x%X", UC[1].FrameOffset * 16);
303 << format(", offset=0x%X", getLargeSlotValue(UC));
315 off_t Offset, const UnwindInfo &UI) {
325 SW.printString("FrameRegister", StringRef("-"));
326 SW.printString("FrameOffset", StringRef("-"));
341 UCI = UCI + UsedSlots - 1;
345 uint64_t LSDAOffset = Offset + getOffsetOfLSDA(UI);
366 uint64_t Offset;
367 resolveRelocation(Ctx, Section, SectionOffset + 8, XData, Offset);
368 Offset = Offset + RF.UnwindInfoOffset;
375 Offset = RF.UnwindInfoOffset - XData->VirtualAddress;
385 if (Offset > Contents.size())
388 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset);
389 printUnwindInfo(Ctx, XData, Offset, *UI);