Lines Matching defs:UI
44 static uint64_t getOffsetOfLSDA(const UnwindInfo& UI) {
45 return static_cast<const char*>(UI.getLanguageSpecificData())
46 - reinterpret_cast<const char*>(&UI);
260 void Dumper::printUnwindCode(const UnwindInfo &UI, ArrayRef<UnwindCode> UC,
283 if (UI.getFrameRegister() == 0)
286 OS << " reg=" << getUnwindRegisterName(UI.getFrameRegister())
287 << format(", offset=0x%X", UI.getFrameOffset() * 16);
336 off_t Offset, const UnwindInfo &UI) {
338 SW.printNumber("Version", UI.getVersion());
339 SW.printFlags("Flags", UI.getFlags(), ArrayRef(UnwindFlags));
340 SW.printNumber("PrologSize", UI.PrologSize);
341 if (UI.getFrameRegister()) {
342 SW.printEnum("FrameRegister", UI.getFrameRegister(),
344 SW.printHex("FrameOffset", UI.getFrameOffset());
350 SW.printNumber("UnwindCodeCount", UI.NumCodes);
353 ArrayRef<UnwindCode> UC(&UI.UnwindCodes[0], UI.NumCodes);
362 printUnwindCode(UI, ArrayRef(UCI, UCE), SeenFirstEpilog);
367 uint64_t LSDAOffset = Offset + getOffsetOfLSDA(UI);
368 if (UI.getFlags() & (UNW_ExceptionHandler | UNW_TerminateHandler)) {
371 UI.getLanguageSpecificHandlerOffset()));
372 } else if (UI.getFlags() & UNW_ChainInfo) {
373 if (const RuntimeFunction *Chained = UI.getChainedFunctionEntry()) {
410 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset);
411 printUnwindInfo(Ctx, XData, Offset, *UI);