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

Dimitry Andric via All-commits all-commits at lists.llvm.org
Tue Aug 10 01:02:16 PDT 2021


  Branch: refs/heads/release/13.x
  Home:   https://github.com/llvm/llvm-project
  Commit: 19ee94d36b93dd1f5e277640c192ceb9b8236b0a
      https://github.com/llvm/llvm-project/commit/19ee94d36b93dd1f5e277640c192ceb9b8236b0a
  Author: Dimitry Andric <dimitry at andric.com>
  Date:   2021-08-10 (Tue, 10 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

(cherry picked from commit ab4b4684a26c31b1eb507a7eb6d2f4ac30764c3d)




More information about the All-commits mailing list