You've already forked linux-packaging-mono
acceptance-tests
data
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
libcxx
libcxxabi
libunwind
cmake
docs
include
src
test
libunwind
CMakeLists.txt
alignment.pass.cpp
libunwind_01.pass.cpp
libunwind_02.pass.cpp
lit.cfg
lit.site.cfg.in
unw_getcontext.pass.cpp
.arcconfig
.clang-format
CMakeLists.txt
LICENSE.TXT
lld
lldb
llvm
openmp
polly
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mk
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
30 lines
925 B
C++
30 lines
925 B
C++
![]() |
// -*- C++ -*-
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
//
|
||
|
// The LLVM Compiler Infrastructure
|
||
|
//
|
||
|
// This file is dual licensed under the MIT and the University of Illinois Open
|
||
|
// Source Licenses. See LICENSE.TXT for details.
|
||
|
//
|
||
|
//===----------------------------------------------------------------------===//
|
||
|
|
||
|
// The Itanium ABI requires that _Unwind_Exception objects are "double-word
|
||
|
// aligned".
|
||
|
|
||
|
#include <unwind.h>
|
||
|
|
||
|
// EHABI : 8-byte aligned
|
||
|
// itanium: largest supported alignment for the system
|
||
|
#if defined(_LIBUNWIND_ARM_EHABI)
|
||
|
static_assert(alignof(_Unwind_Control_Block) == 8,
|
||
|
"_Unwind_Control_Block must be double-word aligned");
|
||
|
#else
|
||
|
struct MaxAligned {} __attribute__((__aligned__));
|
||
|
static_assert(alignof(_Unwind_Exception) == alignof(MaxAligned),
|
||
|
"_Unwind_Exception must be maximally aligned");
|
||
|
#endif
|
||
|
|
||
|
int main()
|
||
|
{
|
||
|
}
|