[PATCH] D135419: [readobj] Make JSON output consistent for Other flags

Paul Kirth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 19 18:49:08 PDT 2022


paulkirth added a comment.

Still looking into this, but one thing I'm increasingly hesitant about is how closely the LLVM and JSON implementations are coupled. It may make sense to separate the implementations more before we start introducing changes that affect more than the JSON output.

@jhenderson do we have any stability guarantees for the LLVM format? I don't want to introduce churn just for the sake of it, but is the LLVM output intended to be easily machine parsable, or to follow some format we've outlined somewhere? where changes to both formats make sense, I'm happy to share the implementation, but I expect there will eventually reach a point where the JSON and LLVM formats need to diverge to satisfy consumers. If possible, I'd like to establish where that point is, so that we can plan for/recognize it apriori.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135419



More information about the llvm-commits mailing list