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

Jian Cai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 2 18:40:21 PDT 2020


jcai19 added a comment.

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.


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