[PATCH] D15996: Avoid undefined behavior in LinkAllPasses.h
Mehdi AMINI via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 12 10:42:19 PST 2016
joker.eph added a subscriber: joker.eph.
================
Comment at: include/llvm/LinkAllPasses.h:198
@@ -192,1 +197,3 @@
+ } BRP(0);
+ (void) BRP.createPrinterPass(os, "");
llvm::AliasSetTracker X(*(llvm::AliasAnalysis*)nullptr);
----------------
Isn't instantiating a `RGPassManager` enough to force link `RegionPass.cpp`?
http://reviews.llvm.org/D15996
More information about the llvm-commits
mailing list