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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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