[PATCH] D104342: [IR] convert warn-stack-size from module flag to fn attr

Aaron Ballman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 23 08:53:54 PDT 2021


aaron.ballman added a comment.

In D104342#2834240 <https://reviews.llvm.org/D104342#2834240>, @dblaikie wrote:

> In D104342#2834119 <https://reviews.llvm.org/D104342#2834119>, @nickdesaulniers wrote:
>
>> I would think https://clang.llvm.org/docs/DiagnosticsReference.html#wframe-larger-than would be an appropriate place to document this for `-Wframe-larger-than=`, but it seems this whole page is generated via TableGen. It's not clear to me how we could insert such a note.
>
> Yeah, I don't think we have a way to add more verbose/custom documentation for diagnostics. (@aaron.ballman might have some ideas)

I'm not aware of any way to do that today -- it would require more machinery for generating the diagnostic documentation, which is made harder by this particular diagnostic being a backend one that's not written out from tablegen.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D104342



More information about the llvm-commits mailing list