[PATCH] D33515: Force RegisterStandardPasses to construct std::function in the IPO library.
Mehdi AMINI via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 13 10:55:42 PDT 2017
mehdi_amini added inline comments.
================
Comment at: llvm/trunk/include/llvm/Transforms/IPO/PassManagerBuilder.h:213
+/// Currently limited to real functions to avoid crashes when used within the
+/// main executable before a loaded plugin has a chance to use this.
struct RegisterStandardPasses {
----------------
I'm missing the *why* using a "real function" (I guess you meant "function pointer") matter?
Repository:
rL LLVM
https://reviews.llvm.org/D33515
More information about the llvm-commits
mailing list