[PATCH] D50170: [libcxxabi] Fix test_exception_address_alignment test for ARM

Yvan Roux via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 16 04:38:54 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL339865: [libcxxabi] Fix test_exception_address_alignment test for ARM (authored by yroux, committed by ).
Herald added a subscriber: christof.

Changed prior to commit:
  https://reviews.llvm.org/D50170?vs=158696&id=160999#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D50170

Files:
  libcxxabi/trunk/test/test_exception_address_alignment.pass.cpp


Index: libcxxabi/trunk/test/test_exception_address_alignment.pass.cpp
===================================================================
--- libcxxabi/trunk/test/test_exception_address_alignment.pass.cpp
+++ libcxxabi/trunk/test/test_exception_address_alignment.pass.cpp
@@ -20,14 +20,15 @@
 
 #include <cstdint>
 #include <cassert>
+#include <__cxxabi_config.h>
 
 #include <unwind.h>
 
 struct __attribute__((aligned)) AlignedType {};
 
 // EHABI  : 8-byte aligned
 // Itanium: Largest supported alignment for the system
-#if defined(_LIBUNWIND_ARM_EHABI)
+#if defined(_LIBCXXABI_ARM_EHABI)
 #  define EXPECTED_ALIGNMENT 8
 #else
 #  define EXPECTED_ALIGNMENT alignof(AlignedType)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50170.160999.patch
Type: text/x-patch
Size: 684 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180816/23ca1566/attachment-0001.bin>


More information about the cfe-commits mailing list