[all-commits] [llvm/llvm-project] 3db57d: [mlir] Emit errors if global constructors are foun...

River Riddle via All-commits all-commits at lists.llvm.org
Fri Apr 10 13:05:17 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3db57d14ecf55efd86cd3007dc755d27669e7828
      https://github.com/llvm/llvm-project/commit/3db57d14ecf55efd86cd3007dc755d27669e7828
  Author: River Riddle <riddleriver at gmail.com>
  Date:   2020-04-10 (Fri, 10 Apr 2020)

  Changed paths:
    M mlir/lib/CMakeLists.txt
    M mlir/lib/IR/CMakeLists.txt

  Log Message:
  -----------
  [mlir] Emit errors if global constructors are found within lib/

Summary: This avoids adding any additional global constructors, like cl::opt. There is a temporary exception on IR/, which has a few cl::opts that require a bit of plumbing to remove.

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




More information about the All-commits mailing list