InstCountCI: Add log before compiling instruction

If CI faults out due to a bug then we would have no log as to which
instruction caused the issue.

I find myself adding this each time an assert fires to see what
instruction it was working on. Just add it directly.
This commit is contained in:
Ryan Houdek 2023-09-13 14:33:33 -07:00
parent cfe620ab15
commit 6c2f8ab085

View File

@ -251,6 +251,8 @@ static bool TestInstructions(FEXCore::Context::Context *CTX, FEXCore::Core::Inte
TestInfo const *CurrentTest = &TestHeaderData->Tests[0];
for (size_t i = 0; i < TestHeaderData->NumTests; ++i) {
uint64_t CodeRIP = (uint64_t)&CurrentTest->Code[0];
LogMan::Msg::IFmt("Compiling instruction '{}'", CurrentTest->TestInst);
// Compile the INST.
CTX->CompileRIP(Thread, CodeRIP);