[all-commits] [llvm/llvm-project] ab4b46: [mlir] Avoid including <alloca.h> on FreeBSD and N...

Dimitry Andric via All-commits all-commits at lists.llvm.org
Sun Aug 8 04:33:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab4b4684a26c31b1eb507a7eb6d2f4ac30764c3d
      https://github.com/llvm/llvm-project/commit/ab4b4684a26c31b1eb507a7eb6d2f4ac30764c3d
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2021-08-08 (Sun, 08 Aug 2021)

  Changed paths:
    M mlir/lib/ExecutionEngine/CRunnerUtils.cpp

  Log Message:
  -----------
  [mlir] Avoid including <alloca.h> on FreeBSD and NetBSD

Instead, include `<cstdlib>` which is the canonical header containing
the declaration of `alloca()`.

Reviewed By: bondhugula

Differential Revision: https://reviews.llvm.org/D107699




More information about the All-commits mailing list