[PATCH] D108479: [Clang] Add __builtin_addressof_nocfi

Nick Desaulniers via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 28 12:41:45 PDT 2021


nickdesaulniers added inline comments.


================
Comment at: clang/include/clang/AST/APValue.h:195
       unsigned CallIndex, Version;
+      bool NoCFIValue : 1;
     };
----------------
Is there be padding off the end of the bitfield? Or does this actually change the sizeof(LocalState)?

https://godbolt.org/z/eEdKoaab9

Can we just use a non-bitfield `bool` here?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108479



More information about the cfe-commits mailing list