[PATCH] D156497: [BPF] report fatal error rather than miscompile

Tamir Duberstein via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 28 06:02:38 PDT 2023


tamird added a comment.

In D156497#4541015 <https://reviews.llvm.org/D156497#4541015>, @ast wrote:

> Please provide a test case that demonstrates the issue.
> Right now it looks to me that aya front-end generates broken IR and it causes all kinds of issues in the backend.
> We won't be doing defensive programming to help front-ends debug their issues.

Please please read the description. Writing a test for this would require use of the C API, and would amount to writing an `llc`-like program with a diagnostic handler that is arguably wrong.

This diff is intended to start a discussion about the error handling path being error prone. Can you engage with that please?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D156497



More information about the llvm-commits mailing list