[PATCH] D102015: [clang CodeGen] Don't crash on large atomic function parameter.

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 10 15:16:10 PDT 2021


ahatanak added a comment.

C structs with ObjC pointer fields under ARC are non-trivial to destruct too.

  struct foo {
    int big[128];
    id a;
  };
  
  void test_atomic_array_param(_Atomic(struct foo) a) {
  }


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D102015



More information about the cfe-commits mailing list