[PATCH] D61667: Assume `__cxa_allocate_exception` returns an under-aligned memory on Darwin if the version of libc++abi isn't new enough to include the fix in r319123

Akira Hatanaka via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed May 8 13:40:47 PDT 2019


ahatanak updated this revision to Diff 198716.
ahatanak marked 3 inline comments as done.
ahatanak edited the summary of this revision.
ahatanak added a comment.

Move the code that was in `AlignedExceptionObject.h` to `getExnObjectAlignment` and remove the header.


Repository:
  rC Clang

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

https://reviews.llvm.org/D61667

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Basic/TargetInfo.h
  lib/Basic/Targets/OSTargets.h
  lib/CodeGen/ItaniumCXXABI.cpp
  lib/Sema/SemaExprCXX.cpp
  test/CodeGenCXX/eh.cpp
  test/SemaCXX/warn-overaligned-type-thrown.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61667.198716.patch
Type: text/x-patch
Size: 10688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190508/ea41cbab/attachment-0001.bin>


More information about the cfe-commits mailing list