1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Removed MinGW DWARF parsing

This commit is contained in:
Brian Fiete 2020-09-17 05:57:50 -07:00
parent 44c8da4eb3
commit 0301552d2f

View file

@ -6022,36 +6022,9 @@ bool DbgModule::ReadCOFF(DataStream* stream, DbgModuleKind moduleKind)
entry.mSize = sectHdr.mSizeOfRawData; entry.mSize = sectHdr.mSizeOfRawData;
mExceptionDirectory.Add(entry); mExceptionDirectory.Add(entry);
} }
/*else if (strcmp(name, ".rdata") == 0)
{ // Old, unsupported DWARF debug info
if (mExceptionData == NULL) /*
{
mExceptionData = data;
mExceptionDataRVA = sectHdr.mVirtualAddress;
}
else
{
usedData = false;
}
}
else if (strcmp(name, ".xdata") == 0)
{
if (mExceptionData != NULL)
{
if (IsObjectFile())
{
mOwnedSectionData.push_back(mExceptionData);
}
else
{
// xdata section overrides rdata exception data
delete[] mExceptionData;
}
}
mExceptionData = data;
mExceptionDataRVA = sectHdr.mVirtualAddress;
}*/
else if (strcmp(name, ".debug_info") == 0) else if (strcmp(name, ".debug_info") == 0)
{ {
mDebugInfoData = data; mDebugInfoData = data;
@ -6088,6 +6061,8 @@ bool DbgModule::ReadCOFF(DataStream* stream, DbgModuleKind moduleKind)
{ {
mDebugRangesData = data; mDebugRangesData = data;
} }
*/
// else if (strcmp(name, ".rsrc") == 0) // else if (strcmp(name, ".rsrc") == 0)
// { // {
// //IMAGE_DIRECTORY_ENTRY_RESOURCE // //IMAGE_DIRECTORY_ENTRY_RESOURCE