[PATCH] D77168: Add a flag to debug automatic variable initialization

Hubert Tong via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 17 18:03:45 PDT 2020


hubert.reinterpretcast added a comment.

In D77168#1989973 <https://reviews.llvm.org/D77168#1989973>, @jfb wrote:

> I'd also like to see the pragma attribute approach, as well as byte-pattern variability as I described. I don't think auto-narrowing is the only approach we should push people towards.


I also would like to see the pragma attribute in addition to the command-line option. The attribute is closer to the source code even for debugging purposes. If it is not too finicky, it might be usable even with relatively naïve text bisection tooling.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77168





More information about the cfe-commits mailing list