[PATCH] D20682: Expose target-specific pre-linking passes in TargetMachine

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 10:09:58 PDT 2016

mehdi_amini added inline comments.

Comment at: include/llvm/Target/TargetMachine.h:259
@@ -257,1 +258,3 @@
+  virtual void addPreLinkPasses(PassManagerBase &) {}
   /// True if subtarget inserts the final scheduling pass on its own.
mehdi_amini wrote:
> The comment is not very useful, it basically repeats the function name and would still let me puzzled.
> I read the thread on cfe-dev, but I'm still don't really sure to understand where it would be called, do you have the clang patch ready?
Just saw the link to the clang patch in the description.... 


More information about the llvm-commits mailing list