[all-commits] [llvm/llvm-project] 165a63: [libcxxabi] Fix layout of __cxa_exception for win64

Martin Storsjö via All-commits all-commits at lists.llvm.org
Tue Feb 4 01:59:50 PST 2020


  Branch: refs/heads/release/10.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 165a6367631d643f8f186d7a809013652cf321d6
      https://github.com/llvm/llvm-project/commit/165a6367631d643f8f186d7a809013652cf321d6
  Author: Martin Storsjö <martin at martin.st>
  Date:   2020-02-04 (Tue, 04 Feb 2020)

  Changed paths:
    M libcxxabi/src/cxa_exception.h

  Log Message:
  -----------
  [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

(cherry picked from commit 09dc884eb2e4a433eb8c5ed20a17108091279295)




More information about the All-commits mailing list