mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-10 04:22:20 +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)
|
if (moduleInfo != NULL)
|
||||||
{
|
{
|
||||||
BfLogCv("ParseCompileUnit %s\n", moduleInfo->mModuleName);
|
BfLogDbgHI("ParseCompileUnit %s %s\n", mPDBPath.c_str(), moduleInfo->mModuleName);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
BfLogCv("ParseCompileUnit NULL\n");
|
BfLogDbgHI("ParseCompileUnit %s NULL\n", mPDBPath.c_str());
|
||||||
}
|
}
|
||||||
|
|
||||||
int allocSizeStart = mAlloc.GetAllocSize();
|
int allocSizeStart = mAlloc.GetAllocSize();
|
||||||
|
|
|
@ -1970,6 +1970,7 @@ public:
|
||||||
#ifdef BF_WANTS_LOG_HI
|
#ifdef BF_WANTS_LOG_HI
|
||||||
#define BfLogSysHI(sys, fmt, ...) DoBfLog((sys)->mIsResolveOnly ? 1 : 2, fmt, ##__VA_ARGS__)
|
#define BfLogSysHI(sys, fmt, ...) DoBfLog((sys)->mIsResolveOnly ? 1 : 2, fmt, ##__VA_ARGS__)
|
||||||
#define BfLogSysMHI(fmt, ...) DoBfLog(mSystem->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
|
#else
|
||||||
#define BfLogSysHI(...) {} // Nothing
|
#define BfLogSysHI(...) {} // Nothing
|
||||||
#define BfLogSysMHI(...) {} // Nothing
|
#define BfLogSysMHI(...) {} // Nothing
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue