mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 03:52:19 +02:00
Trimmed trailing whitespace
This commit is contained in:
parent
8eda627e2f
commit
14f20f10c8
28 changed files with 1659 additions and 1768 deletions
|
@ -21,7 +21,6 @@
|
|||
|
||||
#include "BeefySysLib/util/AllocDebug.h"
|
||||
|
||||
|
||||
#define LF_CLASS_EX 0x1608
|
||||
#define LF_STRUCTURE_EX 0x1609
|
||||
|
||||
|
@ -769,14 +768,12 @@ DbgSubprogram* COFF::CvParseMethod(DbgType* parentType, const char* methodName,
|
|||
else if (trLeafType == LF_MFUNC_ID)
|
||||
{
|
||||
//
|
||||
|
||||
}
|
||||
else
|
||||
{
|
||||
SoftFail(StrFormat("Unhandled func type at tagId %d ipi %d", tagIdx, ipi));
|
||||
}
|
||||
|
||||
|
||||
if ((parentType != NULL) && (!IsObjectFile()))
|
||||
{
|
||||
subprogram->mCompileUnit = parentType->mCompileUnit;
|
||||
|
@ -1595,8 +1592,6 @@ DbgType* COFF::CvParseType(int tagIdx, bool ipi)
|
|||
else
|
||||
dbgType->mTypeCode = DbgType_Struct;
|
||||
|
||||
|
||||
|
||||
DbgType* baseType = NULL;
|
||||
if (derived != 0)
|
||||
{
|
||||
|
@ -1734,7 +1729,6 @@ DbgType* COFF::CvParseType(int tagIdx, bool ipi)
|
|||
break;
|
||||
case LF_DIMARRAY:
|
||||
{
|
||||
|
||||
}
|
||||
break;
|
||||
case LF_ARRAY:
|
||||
|
@ -3027,7 +3021,6 @@ void COFF::ParseCompileUnit_Symbols(DbgCompileUnit* compileUnit, uint8* sectionD
|
|||
inlineDebugDump = false;
|
||||
curSubprogram = NULL;
|
||||
curParam = NULL;
|
||||
|
||||
}
|
||||
break;
|
||||
case S_COMPILE2:
|
||||
|
@ -3357,7 +3350,6 @@ void COFF::ParseCompileUnit_Symbols(DbgCompileUnit* compileUnit, uint8* sectionD
|
|||
}
|
||||
|
||||
return false;
|
||||
|
||||
};
|
||||
|
||||
for (int blockIdx = (int)blockStack.size() - 1; blockIdx >= 0; blockIdx--)
|
||||
|
@ -3415,7 +3407,6 @@ void COFF::ParseCompileUnit_Symbols(DbgCompileUnit* compileUnit, uint8* sectionD
|
|||
BF_ASSERT(locationDataCount == prevLocalVar->mLocationLen);
|
||||
}*/
|
||||
|
||||
|
||||
data = dataEnd;
|
||||
//PTR_ALIGN(data, sectionData, 4);
|
||||
}
|
||||
|
@ -3863,7 +3854,6 @@ CvCompileUnit* COFF::ParseCompileUnit(CvModuleInfo* moduleInfo, CvCompileUnit* c
|
|||
bool flushOnLineOffset = false;
|
||||
addr_target lastLineAddr = 0;
|
||||
|
||||
|
||||
DbgSrcFileReference* srcFileRef = startSrcFileRef;
|
||||
DbgSubprogram* curSubprogram = inlineData->mSubprogram;
|
||||
|
||||
|
@ -3907,7 +3897,6 @@ CvCompileUnit* COFF::ParseCompileUnit(CvModuleInfo* moduleInfo, CvCompileUnit* c
|
|||
BfLogCv(" Adding Line:%d Addr:%@\n", lineData.mLine + 1, lineData.mRelAddress + mImageBase);
|
||||
|
||||
curLineData = lineBuilder.Add(compileUnit, lineData, srcFileRef->mSrcFile, curSubprogram);
|
||||
|
||||
};
|
||||
|
||||
int codeIdx = 0;
|
||||
|
@ -4111,7 +4100,6 @@ CvCompileUnit* COFF::ParseCompileUnit(CvModuleInfo* moduleInfo, CvCompileUnit* c
|
|||
|
||||
lineBuilder.Commit();
|
||||
|
||||
|
||||
//OutputDebugStrF("Module loaded, AllocSize added: %d\n", (mAlloc.GetAllocSize() - allocSizeStart) / 1024);
|
||||
return compileUnit;
|
||||
}
|
||||
|
@ -4694,7 +4682,6 @@ void COFF::ScanCompileUnit(int compileUnitId)
|
|||
PTR_ALIGN(data, sectionData, 4);
|
||||
}
|
||||
|
||||
|
||||
break; // Stop once we handle the file checksums
|
||||
}
|
||||
|
||||
|
@ -5349,7 +5336,6 @@ void COFF::CvParseIPI()
|
|||
{
|
||||
lfStringId& str = *(lfStringId*)data;
|
||||
const char* parentStr = (const char*)str.name;
|
||||
|
||||
}
|
||||
break;
|
||||
case LF_UDT_MOD_SRC_LINE:
|
||||
|
@ -5367,7 +5353,6 @@ void COFF::CvParseIPI()
|
|||
{
|
||||
lfMFuncId* funcData = (lfMFuncId*)dataStart;
|
||||
auto parentType = CvGetType(funcData->parentType);
|
||||
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
@ -5922,7 +5907,6 @@ bool COFF::ParseCv(DataStream& pdbFS, uint8* rootDirData, int pageSize, uint8 wa
|
|||
for (int i = 0; i < (int)mCvStreamPtrs.size(); i++)
|
||||
mCvStreamPtrs[i] = GET(int32);
|
||||
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
if (!CvParseHeader(wantGuid, wantAge))
|
||||
|
@ -7089,7 +7073,6 @@ addr_target COFF::LocateSymbol(const StringImpl& name)
|
|||
// delete data;
|
||||
// #endif
|
||||
|
||||
|
||||
FileSubStream fileStream;
|
||||
fileStream.mFP = libEntry->mLibFile->mOldFileStream.mFP;
|
||||
fileStream.mOffset = libEntry->mOldDataPos + sizeof(BeLibMemberHeader);
|
||||
|
@ -7234,7 +7217,6 @@ void COFF::ParseFrameDescriptors(uint8* data, int size, addr_target baseAddr)
|
|||
}
|
||||
|
||||
mParsedFrameDescriptors = true;
|
||||
|
||||
}
|
||||
|
||||
void COFF::ParseFrameDescriptors()
|
||||
|
@ -7281,4 +7263,4 @@ void TestPDB(const StringImpl& fileName, WinDebugger* debugger)
|
|||
coff.ParseCompileUnit(compileUnitId);
|
||||
}
|
||||
|
||||
NS_BF_DBG_END
|
||||
NS_BF_DBG_END
|
Loading…
Add table
Add a link
Reference in a new issue