[PATCH] D56760: Add a new builtin: __builtin_dynamic_object_size

George Burgess IV via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 15 18:35:55 PST 2019


george.burgess.iv added a comment.

Thanks for this!

> Would it make sense to model this as an (optional) extra flag bit for __builtin_object_size rather than as a new builtin?

+1. That way, we could avoid making a `pass_dynamic_object_size` (assuming we wouldn't want to have a different API between that and __builtin_object_size), as well. :)


Repository:
  rC Clang

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

https://reviews.llvm.org/D56760





More information about the cfe-commits mailing list