[PATCH] D123877: [BPF] Add assert for the range of FK_PCRel_2 branch target

Yonghong Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 13:04:40 PDT 2022


yonghong-song added a comment.

In D123877#3459461 <https://reviews.llvm.org/D123877#3459461>, @ast wrote:

> assert is a heavy hammer.
> can we exit with report_fatal_error instead?

Okay. Let me implement with a report_fatal_error.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D123877/new/

https://reviews.llvm.org/D123877



More information about the llvm-commits mailing list