[PATCH] D133646: Add a utility for converting between different types of remarks

Jessica Paquette via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 12 17:11:15 PDT 2022


paquette added a comment.

In D133646#3785158 <https://reviews.llvm.org/D133646#3785158>, @MatzeB wrote:

> On a somewhat random note: I have a `remarks2sql` utility here that converts remarks into an sqlite3 database which I found works great when analyzing bigger codebases where you pretty much always want to do various amount of filtering, sorting and aggregation... I should probably clean that up and add it to `llvm/utils` if there's demand from others... Unfortunately it's written in python, so can't easily be integrated into this tool here...

I think that would be extremely handy to have. I thought something like a

  llvm-remarkutil query <file> <query>

option would be really handy, but an actual database would probably be better-suited to that task than basically anything else...


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133646



More information about the llvm-commits mailing list