projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a710137
)
[mlir] Avoid including <alloca.h> on DragonFly
author
Brad Smith
<brad@comstyle.com>
Sat, 21 Oct 2023 05:18:36 +0000
(
01:18
-0400)
committer
Tobias Hieta
<tobias@hieta.se>
Tue, 24 Oct 2023 06:25:58 +0000
(08:25 +0200)
(cherry picked from commit
a157a82b1e7a8d4be34cc862db4b42fa9db363d0
)
mlir/lib/ExecutionEngine/CRunnerUtils.cpp
patch
|
blob
|
history
diff --git
a/mlir/lib/ExecutionEngine/CRunnerUtils.cpp
b/mlir/lib/ExecutionEngine/CRunnerUtils.cpp
index
7f800e8
..
c31ae3a
100644
(file)
--- a/
mlir/lib/ExecutionEngine/CRunnerUtils.cpp
+++ b/
mlir/lib/ExecutionEngine/CRunnerUtils.cpp
@@
-16,7
+16,8
@@
#include "mlir/ExecutionEngine/Msan.h"
#ifndef _WIN32
-#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
+#if defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || \
+ defined(__DragonFly__)
#include <cstdlib>
#else
#include <alloca.h>