Lines Matching defs:info
133 const MCWin64EHUnwindInfo *info) {
137 streamer.EmitValue(MCSymbolRefExpr::Create(info->Begin, context), 4);
138 streamer.EmitValue(MCSymbolRefExpr::Create(info->End, context), 4);
139 streamer.EmitValue(MCSymbolRefExpr::Create(info->Symbol, context), 4);
142 static void EmitUnwindInfo(MCStreamer &streamer, MCWin64EHUnwindInfo *info) {
144 if (info->Symbol) return;
150 info->Symbol = context.CreateTempSymbol();
151 streamer.EmitLabel(info->Symbol);
153 if (info->ChainedParent)
156 if (info->HandlesUnwind)
158 if (info->HandlesExceptions)
163 if (info->PrologEnd)
164 EmitAbsDifference(streamer, info->PrologEnd, info->Begin);
168 uint8_t numCodes = CountOfUnwindCodes(info->Instructions);
172 if (info->LastFrameInst >= 0) {
173 MCWin64EHInstruction &frameInst = info->Instructions[info->LastFrameInst];
181 uint8_t numInst = info->Instructions.size();
183 MCWin64EHInstruction inst = info->Instructions.back();
184 info->Instructions.pop_back();
185 EmitUnwindCode(streamer, info->Begin, inst);
189 EmitRuntimeFunction(streamer, info->ChainedParent);
192 streamer.EmitValue(MCSymbolRefExpr::Create(info->ExceptionHandler, context),
196 // a chained unwind info, if there is no handler, and if there are fewer
246 MCWin64EHUnwindInfo *info) {
251 getWin64EHTableSection(GetSectionSuffix(info->Function), context);
254 llvm::EmitUnwindInfo(streamer, info);
259 // Emit the unwind info structs first.
261 MCWin64EHUnwindInfo &info = streamer.getW64UnwindInfo(i);
263 getWin64EHTableSection(GetSectionSuffix(info.Function), context);
265 llvm::EmitUnwindInfo(streamer, &info);
269 MCWin64EHUnwindInfo &info = streamer.getW64UnwindInfo(i);
271 getWin64EHFuncTableSection(GetSectionSuffix(info.Function), context);
273 EmitRuntimeFunction(streamer, &info);