paulkirth added a comment.

In D135488#4048869 <https://reviews.llvm.org/D135488#4048869>, @thegameg wrote:

> In D135488#4048854 <https://reviews.llvm.org/D135488#4048854>, @paulkirth 
> wrote:
>
>> In D135488#4048380 <https://reviews.llvm.org/D135488#4048380>, 
>> @nickdesaulniers wrote:
>>
>>> It would be really nice if we could limit this to a specific function 
>>> somehow.
>>
>> I think you can do that, right ?
>> see: 
>> https://llvm.org/docs/Remarks.html#cmdoption-pass-remarks-filter
>
> This filters on the `Name` of the remark, so here it would be 
> `stack-frame-layout`.
>
> I think a `-Rpass-func-filter=<regex>` would be a great addition.

That's right. I misremembered.  I think when this was a normal printing pass 
you could filter w/ `-filter-print-funcs=foo` but I don't think that works now


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D135488

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to