[llvm] [BOLT][AArch64] Compensate for missing code markers (PR #151060)

Paschalis Mpeis via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 29 03:59:26 PDT 2025


https://github.com/paschalis-mpeis approved this pull request.

Thanks Maksim. We've encountered this issue a few of times with some JITs.
It looks good, and I'm happy with the warning emitted.

BTW, before applying your patch, I though BOLT would present an error when encountering code that was missing a marker, but that isn't the case with the added test?

AFAIU, the error is ultimately on the source code side (the JIT's codegen). So I am wondering whether colleagues would prefer to guard this behaviour behind a flag as a way of encouraging fixes to those projects. I'll follow-up if that's the case.

https://github.com/llvm/llvm-project/pull/151060


More information about the llvm-commits mailing list