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

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 19:12:30 PDT 2020


MaskRay added a comment.

In D77168#2070049 <https://reviews.llvm.org/D77168#2070049>, @jcai19 wrote:

> In D77168#2069783 <https://reviews.llvm.org/D77168#2069783>, @MaskRay wrote:
>
> > Do we have a mechanism bisecting pragmas? If yes, we can let that tool add `#pragma clang attribute push([[clang::uninitialized]], apply_to = variable)`
>
>
> Not that I am aware of unfortunately. The whole point of having this patch is to add the ability to bisect programmatically, along the approach of using pragma as introduced in https://reviews.llvm.org/D78693.


If we have a mechanism bisecting pragmas, this option will not be needed.


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