This patch adds backend support for -Rpass=, which indicates the name
of the optimization pass that should emit remarks stating when it
made a transformation to the code.
Pass names are taken from their DEBUG_NAME definitions.
This is the back end counterpart for
I’m not sure the lifetime of all the references you are using in Twine are long enough.
Could you double check that the things are not freed before you are using it (like the fix we had to do in r203996)?