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

Mehdi AMINI via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 13 08:53:13 PDT 2016


mehdi_amini added a comment.

(general comment: upload patches with full context please)


================
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.
----------------
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?


http://reviews.llvm.org/D20682





More information about the llvm-commits mailing list