jfb added a comment.

I'd much rather see folks bisect using something like:

  void use(void*);
  
  #pragma clang attribute push ([[clang::uninitialized]], apply_to = variable)
  void buggy() {
      int arr[256];
      int boom;
      float bam;
      struct { int oops; } oops;
      union { int oof; float aaaaa; } oof;
  
      use(&arr);
      use(&boom);
      use(&bam);
      use(&oops);
      use(&oof);
  }
  #pragma clang attribute pop

This should be easy to add support for.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77168



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

Reply via email to