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