Home | History | Annotate | Download | only in llvm-readobj

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