HomePhabricator

[libcxxabi] Fix layout of __cxa_exception for win64

Authored by mstorsjo on Feb 1 2020, 3:32 AM.

Description

[libcxxabi] Fix layout of __cxa_exception for win64

Win64 isn't LP64, it's LLP64, but there's no LLP64 predefined -
just check _WIN64 in addition to LP64.

This fixes compilation after static asserts about the struct layout
were added in f2a436058fcbc11291e73badb44e243f61046183.

Differential Revision: https://reviews.llvm.org/D73838

Details