[all-commits] [llvm/llvm-project] add9f1: [mlir][LLVM] Finer-grained control for C interface...

Nicolas Vasilache via All-commits all-commits at lists.llvm.org
Thu Apr 2 10:08:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: add9f1a5dc1963149dac4cb8b25bf2cb825a02c2
      https://github.com/llvm/llvm-project/commit/add9f1a5dc1963149dac4cb8b25bf2cb825a02c2
  Author: Nicolas Vasilache <ntv at google.com>
  Date:   2020-04-02 (Thu, 02 Apr 2020)

  Changed paths:
    M mlir/docs/ConversionToLLVMDialect.md
    M mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
    M mlir/test/Conversion/StandardToLLVM/calling-convention.mlir

  Log Message:
  -----------
  [mlir][LLVM] Finer-grained control for C interface emission

C interface emission is controlled by a flag and has coarse granularity.
With this coarse control, interfaces are emitted for all external functions.
This makes is easy to get undefined symbols.

This revision adds support for controlling per-function emission with an "emit_c_interface" attribute.




More information about the All-commits mailing list