mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 20:42:21 +02:00
COFF debugging
This commit is contained in:
parent
e16be338ea
commit
311cdaece1
2 changed files with 3 additions and 2 deletions
|
@ -3439,11 +3439,11 @@ CvCompileUnit* COFF::ParseCompileUnit(CvModuleInfo* moduleInfo, CvCompileUnit* c
|
|||
|
||||
if (moduleInfo != NULL)
|
||||
{
|
||||
BfLogCv("ParseCompileUnit %s\n", moduleInfo->mModuleName);
|
||||
BfLogDbgHI("ParseCompileUnit %s %s\n", mPDBPath.c_str(), moduleInfo->mModuleName);
|
||||
}
|
||||
else
|
||||
{
|
||||
BfLogCv("ParseCompileUnit NULL\n");
|
||||
BfLogDbgHI("ParseCompileUnit %s NULL\n", mPDBPath.c_str());
|
||||
}
|
||||
|
||||
int allocSizeStart = mAlloc.GetAllocSize();
|
||||
|
|
|
@ -1970,6 +1970,7 @@ public:
|
|||
#ifdef BF_WANTS_LOG_HI
|
||||
#define BfLogSysHI(sys, fmt, ...) DoBfLog((sys)->mIsResolveOnly ? 1 : 2, fmt, ##__VA_ARGS__)
|
||||
#define BfLogSysMHI(fmt, ...) DoBfLog(mSystem->mIsResolveOnly ? 1 : 2, fmt, ##__VA_ARGS__)
|
||||
#define BfLogDbgHI(fmt, ...) DoBfLog(0, fmt, ##__VA_ARGS__)
|
||||
#else
|
||||
#define BfLogSysHI(...) {} // Nothing
|
||||
#define BfLogSysMHI(...) {} // Nothing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue