Basic OpenBSD backend support.

Cannot enforce alignment so we just check its correctness.
This commit is contained in:
David Carlier
2019-07-30 20:58:38 +01:00
parent c1a7197dd8
commit 6b4ff3e7ab
3 changed files with 100 additions and 2 deletions

View File

@@ -13,6 +13,7 @@ namespace snmalloc
# include "pal_free_bsd_kernel.h"
# include "pal_freebsd.h"
# include "pal_linux.h"
# include "pal_openbsd.h"
# include "pal_windows.h"
#endif
#include "pal_open_enclave.h"
@@ -32,6 +33,8 @@ namespace snmalloc
PALFreeBSDKernel;
# elif defined(__FreeBSD__)
PALFBSD;
# elif defined(__OpenBSD__)
PALOBSD;
# else
# error Unsupported platform
# endif