[PATCH] D13263: Addition of __attribute__((pass_object_size)) to Clang

George Burgess IV via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 19 13:02:15 PST 2015


george.burgess.iv updated this revision to Diff 40696.
george.burgess.iv marked 13 inline comments as done.
george.burgess.iv added a comment.

- Addressed all feedback
- Fixed a few formatting errors
- Deduplicated the `checkAddressOfFunctionIsAvailable` suite of functions
- Added tests to ensure that we don't lower `__builtin_object_size(E, N)` to `@llvm.objectsize` if `E` has side-effects


http://reviews.llvm.org/D13263

Files:
  include/clang/AST/Expr.h
  include/clang/Basic/Attr.td
  include/clang/Basic/AttrDocs.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/CodeGen/CodeGenABITypes.h
  include/clang/Sema/Initialization.h
  include/clang/Sema/Sema.h
  include/clang/Sema/TemplateDeduction.h
  lib/AST/ExprConstant.cpp
  lib/AST/ItaniumMangle.cpp
  lib/AST/MicrosoftMangle.cpp
  lib/CodeGen/CGBuiltin.cpp
  lib/CodeGen/CGCXXABI.cpp
  lib/CodeGen/CGCall.cpp
  lib/CodeGen/CodeGenABITypes.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  lib/CodeGen/CodeGenModule.cpp
  lib/CodeGen/CodeGenTypes.cpp
  lib/CodeGen/CodeGenTypes.h
  lib/CodeGen/ItaniumCXXABI.cpp
  lib/CodeGen/MicrosoftCXXABI.cpp
  lib/Sema/SemaChecking.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaDeclAttr.cpp
  lib/Sema/SemaExpr.cpp
  lib/Sema/SemaInit.cpp
  lib/Sema/SemaLambda.cpp
  lib/Sema/SemaOverload.cpp
  lib/Sema/SemaTemplate.cpp
  lib/Sema/SemaType.cpp
  test/CodeGen/pass-object-size.c
  test/CodeGenCXX/pass-object-size.cpp
  test/Sema/pass-object-size.c
  test/SemaCXX/init-priority-attr.cpp
  test/SemaCXX/pass-object-size.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D13263.40696.patch
Type: text/x-patch
Size: 109560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151119/ff141595/attachment-0001.bin>


More information about the cfe-commits mailing list