Move ProfilePaths class into ProfilePaths library, only expose a creation function


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1812 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/tools/opt/opt.cpp b/tools/opt/opt.cpp
index 34eff8f..2b2447b 100644
--- a/tools/opt/opt.cpp
+++ b/tools/opt/opt.cpp
@@ -100,9 +100,11 @@
 
   { trace      , New<InsertTraceCode, bool, true, bool, true> },
   { tracem     , New<InsertTraceCode, bool, false, bool, true> },
-  { paths      , New<ProfilePaths> },
+  { paths      , createProfilePathsPass },
+
   { print      , NewPrintMethodPass },
   { verify     , createVerifierPass },
+
   { raiseallocs, New<RaiseAllocations> },
   { cleangcc   , New<CleanupGCCOutput> },
   { globaldce  , New<GlobalDCE> },