[PATCH] D77824: [mlir] Emit errors if global constructors are found within lib/
Uday Bondhugula via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 10 23:25:38 PDT 2020
bondhugula added inline comments.
================
Comment at: mlir/lib/IR/CMakeLists.txt:2
+# TODO: Remove the need for global constructors within IR/
+add_flag_if_supported("-Wno-global-constructors" WNO_GLOBAL_CONSTRUCTOR_MLIR_IR)
+
----------------
This should be added to test/lib/ as well?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77824/new/
https://reviews.llvm.org/D77824
More information about the llvm-commits
mailing list