[PATCH] D108479: [Clang] Add __builtin_addressof_nocfi

Peter Collingbourne via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 5 12:10:16 PDT 2021


pcc added a comment.

> Maybe it should even be semantically restricted to require a constant decl reference as its operand?

I think we should do this.

Maybe it should be named something like `__builtin_symbol_address` if we're intending for this to have an effect with PAuth as well?


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