GH-129715: Don't project traces that return to an unknown caller (GH-130024)

This commit is contained in:
Brandt Bucher
2025-02-12 10:16:43 -08:00
committed by GitHub
parent 72f56654d0
commit 11bb08e4ec
3 changed files with 3 additions and 3 deletions

View File

@@ -185,8 +185,7 @@ is_instrumented(int opcode)
{
assert(opcode != 0);
assert(opcode != RESERVED);
assert(opcode != ENTER_EXECUTOR);
return opcode >= MIN_INSTRUMENTED_OPCODE;
return opcode != ENTER_EXECUTOR && opcode >= MIN_INSTRUMENTED_OPCODE;
}
#ifndef NDEBUG