[PATCH] D145249: [TargetParser] Disallow Global Constructors
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 7 17:31:50 PST 2023
mehdi_amini added a comment.
My personal motivation was to be able to ship MLIR without any static ctor.
Fixing all of LLVM seemed too much, but MLIR (when not needing the JIT) does only depends on libSupport, which was very much doable (in particular a key piece was that the command line parsing entry point is part of the lib, so we can lazy load libSupport options)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D145249/new/
https://reviews.llvm.org/D145249
More information about the llvm-commits
mailing list