Lines Matching +full:fixed +full:- +full:layout
1 //===- MCCodeView.h - Machine Code CodeView support -------------*- C++ -*-===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
32 StrTabFragment->destroy();
38 unsigned Idx = FileNumber - 1;
51 unsigned Idx = FileNumber - 1;
114 Info->ParentFuncIdPlusOne = IAFunc + 1;
115 Info->InlinedAt = InlinedAt;
119 while (Info->isInlinedCallSite()) {
120 InlinedAt = Info->InlinedAt;
121 Info = getCVFunctionInfo(Info->getParentFuncId());
122 Info->InlinedAtMap[FuncId] = InlinedAt;
138 StrTabFragment = MCCtx->allocFragment<MCDataFragment>();
140 StrTabFragment->getContents().push_back('\0');
146 SmallVectorImpl<char> &Contents = getStringTableFragment()->getContents();
151 std::make_pair(Insertion.first->first(), Insertion.first->second);
165 return I->second;
207 // user-provided file number. Each entry may be a variable number of bytes
244 // the value of this symbol will be fixed up at a later time.
247 unsigned Idx = FileNo - 1;
268 I.first->second.second = Offset + 1;
291 auto I = SiteInfo->InlinedAtMap.find(LocationFuncId);
292 if (I != SiteInfo->InlinedAtMap.end()) {
293 MCCVFunctionInfo::LineInfo &IA = I->second;
316 return I->second;
328 for (auto &KV : SiteInfo->InlinedAtMap) {
344 return ArrayRef(&MCCVLines[L], R - L);
371 unsigned CurFileNum = I->getFileNum();
376 unsigned EntryCount = FileSegEnd - I;
380 ->getContents()[Files[CurFileNum - 1].StringTableOffset]) +
391 OS.emitAbsoluteSymbolDiff(J->getLabel(), FuncBegin, 4);
392 unsigned LineData = J->getLine();
393 if (J->isStmt())
399 OS.emitInt16(J->getColumn());
438 return ((-Data) << 1) | 1;
450 auto *F = MCCtx->allocFragment<MCCVInlineLineTableFragment>(
462 MCCtx->allocFragment<MCCVDefRangeFragment>(Ranges, FixedSizePortion);
476 bool Success = AddrDelta->evaluateKnownAbsolute(Result, Asm);
498 const MCSection *FirstSec = &Locs.front().getLabel()->getSection();
500 if (&Loc.getLabel()->getSection() != FirstSec) {
533 size_t MaxBufferSize = MaxRecordLength - InlineSiteSize - AnnotationSize;
541 auto I = SiteInfo->InlinedAtMap.find(Loc.getFunctionId());
542 if (I != SiteInfo->InlinedAtMap.end()) {
546 CurSourceLoc = I->second;
572 Files[CurSourceLoc.File - 1]
573 .ChecksumTableOffset->getVariableValue())
574 ->getValue();
579 int LineDelta = CurSourceLoc.Line - LastSourceLoc.Line;
613 if (&Loc.getLabel()->getSection() == &LastLabel->getSection())
654 unsigned NumGaps = J - I - 1;
668 // Each record begins with a 2-byte number indicating how large the record
671 // Our record is a fixed sized prefix and a LocalVariableAddrRange that we
677 // Write out the fixed size prefix.
691 RangeSize -= Chunk;