• Home
  • Raw
  • Download

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()
180 void Dumper::printUnwindCode(const UnwindInfo& UI, ArrayRef<UnwindCode> UC) { in printUnwindCode() argument
202 if (UI.getFrameRegister() == 0) in printUnwindCode()
205 OS << " reg=" << getUnwindRegisterName(UI.getFrameRegister()) in printUnwindCode()
206 << format(", offset=0x%X", UI.getFrameOffset() * 16); in printUnwindCode()
238 off_t Offset, const UnwindInfo &UI) { in printUnwindInfo() argument
240 SW.printNumber("Version", UI.getVersion()); in printUnwindInfo()
241 SW.printFlags("Flags", UI.getFlags(), makeArrayRef(UnwindFlags)); in printUnwindInfo()
242 SW.printNumber("PrologSize", UI.PrologSize); in printUnwindInfo()
243 if (UI.getFrameRegister()) { in printUnwindInfo()
244 SW.printEnum("FrameRegister", UI.getFrameRegister(), in printUnwindInfo()
246 SW.printHex("FrameOffset", UI.getFrameOffset()); in printUnwindInfo()
252 SW.printNumber("UnwindCodeCount", UI.NumCodes); in printUnwindInfo()
255 ArrayRef<UnwindCode> UC(&UI.UnwindCodes[0], UI.NumCodes); in printUnwindInfo()
263 printUnwindCode(UI, makeArrayRef(UCI, UCE)); in printUnwindInfo()
268 uint64_t LSDAOffset = Offset + getOffsetOfLSDA(UI); in printUnwindInfo()
269 if (UI.getFlags() & (UNW_ExceptionHandler | UNW_TerminateHandler)) { in printUnwindInfo()
272 UI.getLanguageSpecificHandlerOffset())); in printUnwindInfo()
273 } else if (UI.getFlags() & UNW_ChainInfo) { in printUnwindInfo()
274 if (const RuntimeFunction *Chained = UI.getChainedFunctionEntry()) { in printUnwindInfo()
301 const auto UI = reinterpret_cast<const UnwindInfo*>(Contents.data() + Offset); in printRuntimeFunction() local
302 printUnwindInfo(Ctx, XData, Offset, *UI); in printRuntimeFunction()