mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 19:48:20 +02:00
Better COFF errors
This commit is contained in:
parent
95a27d5e93
commit
ce288ad813
3 changed files with 15 additions and 2 deletions
|
@ -5801,6 +5801,16 @@ void COFF::ParseSymbolStream(CvSymStreamType symStreamType)
|
|||
}
|
||||
}
|
||||
|
||||
void COFF::Fail(const StringImpl& error)
|
||||
{
|
||||
DbgModule::Fail(StrFormat("%s in %s", error.c_str(), mPDBPath.c_str()));
|
||||
}
|
||||
|
||||
void COFF::HardFail(const StringImpl& error)
|
||||
{
|
||||
DbgModule::HardFail(StrFormat("%s in %s", error.c_str(), mPDBPath.c_str()));
|
||||
}
|
||||
|
||||
void COFF::ParseGlobalsData()
|
||||
{
|
||||
if (!mPDBLoaded)
|
||||
|
|
|
@ -293,6 +293,9 @@ public:
|
|||
int mProcSymCount;
|
||||
|
||||
public:
|
||||
virtual void Fail(const StringImpl& error) override;
|
||||
virtual void HardFail(const StringImpl& error) override;
|
||||
|
||||
virtual void ParseGlobalsData() override;
|
||||
virtual void ParseSymbolData() override;
|
||||
virtual void ParseTypeData(CvStreamReader& reader, int dataOffset);
|
||||
|
|
|
@ -1231,8 +1231,8 @@ public:
|
|||
virtual DbgSubprogram* FindSubprogram(DbgType* dbgType, const char* methodName);
|
||||
const char* GetStringTable(DataStream* stream, int stringTablePos);
|
||||
|
||||
void Fail(const StringImpl& error);
|
||||
void HardFail(const StringImpl& error);
|
||||
virtual void Fail(const StringImpl& error);
|
||||
virtual void HardFail(const StringImpl& error);
|
||||
void FindTemplateStr(const char*& name, int& templateNameIdx);
|
||||
void TempRemoveTemplateStr(const char*& name, int& templateNameIdx);
|
||||
void ReplaceTemplateStr(const char*& name, int& templateNameIdx);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue