Lines Matching refs:UI

45 static uint64_t getOffsetOfLSDA(const UnwindInfo& UI) {  in getOffsetOfLSDA()  argument
46 return static_cast<const char*>(UI.getLanguageSpecificData()) in getOffsetOfLSDA()
47 - reinterpret_cast<const char*>(&UI); in getOffsetOfLSDA()
175 void Dumper::printUnwindCode(const UnwindInfo& UI, ArrayRef<UnwindCode> UC) { in printUnwindCode() argument
197 if (UI.getFrameRegister() == 0) in printUnwindCode()
200 OS << " reg=" << getUnwindRegisterName(UI.getFrameRegister()) in printUnwindCode()
201 << format(", offset=0x%X", UI.getFrameOffset() * 16); in printUnwindCode()
233 off_t Offset, const UnwindInfo &UI) { in printUnwindInfo() argument
235 SW.printNumber("Version", UI.getVersion()); in printUnwindInfo()
236 SW.printFlags("Flags", UI.getFlags(), makeArrayRef(UnwindFlags)); in printUnwindInfo()
237 SW.printNumber("PrologSize", UI.PrologSize); in printUnwindInfo()
238 if (UI.getFrameRegister()) { in printUnwindInfo()
239 SW.printEnum("FrameRegister", UI.getFrameRegister(), in printUnwindInfo()
241 SW.printHex("FrameOffset", UI.getFrameOffset()); in printUnwindInfo()
247 SW.printNumber("UnwindCodeCount", UI.NumCodes); in printUnwindInfo()
250 ArrayRef<UnwindCode> UC(&UI.UnwindCodes[0], UI.NumCodes); in printUnwindInfo()
258 printUnwindCode(UI, ArrayRef<UnwindCode>(UCI, UCE)); in printUnwindInfo()
263 uint64_t LSDAOffset = Offset + getOffsetOfLSDA(UI); in printUnwindInfo()
264 if (UI.getFlags() & (UNW_ExceptionHandler | UNW_TerminateHandler)) { in printUnwindInfo()
267 UI.getLanguageSpecificHandlerOffset())); in printUnwindInfo()
268 } else if (UI.getFlags() & UNW_ChainInfo) { in printUnwindInfo()
269 if (const RuntimeFunction *Chained = UI.getChainedFunctionEntry()) { in printUnwindInfo()
296 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset); in printRuntimeFunction() local
297 printUnwindInfo(Ctx, XData, Offset, *UI); in printRuntimeFunction()