Dimitry Andric 434215c26d Merge libcxxrt commit 45ca8b1942090226ba9368caeeeabc0d4ee41ad6
Insert padding in __cxa_exception struct for compatibility

  Similar to https://github.com/llvm/llvm-project/commit/f2a436058fcb, the
  addition of __attribute__((__aligned__)) to _Unwind_Exception (in commit
  b9616964) causes implicit padding to be inserted before the unwindHeader
  field in __cxa_exception.

  Applications attempt to get at the earlier fields in __cxa_exception, so
  preserve the same negative offsets in __cxa_exception, by moving the
  padding to the beginning of the struct.

  The assumption here is that if the ABI is not aware of the padding
  before unwindHeader and put the referenceCount/primaryException in
  there, no padding should exist before unwindHeader.

This should make libreoffice's custom exception handling mechanisms work
correctly, even if it was built against an older cxxabi.h/unwind.h pair.

PR:		263370
MFC after:	3 days
2022-04-19 18:11:11 +02:00
..
2022-04-17 13:30:22 +02:00
2022-04-18 14:52:30 -07:00
2022-04-03 12:58:43 -07:00
2022-01-18 08:10:33 -08:00
2021-12-06 16:36:44 -05:00
2022-02-05 21:55:03 -05:00
2022-01-03 22:03:39 -08:00
2022-02-22 19:34:28 +01:00
2021-07-17 22:20:44 -07:00
2021-11-15 16:58:58 +01:00
2021-12-06 16:36:44 -05:00
2021-11-06 16:24:36 -06:00
2021-11-05 09:39:56 +01:00
2022-02-17 16:05:15 -08:00
2022-04-14 06:16:45 -07:00