Remove AutoFDO profile handling for GCC's LIPO. NFC.
[oota-llvm.git] / lib / ProfileData / SampleProfReader.cpp
index 9b579e6319d4eeb39a3cd2d11bc282be1c63fc97..94f87996bea57fe58e930ff5b27d4e0a2f105bb2 100644 (file)
@@ -671,16 +671,6 @@ SampleProfileReaderGCC::readOneFunctionProfile(const SourceStack &Stack,
   return sampleprof_error::success;
 }
 
-std::error_code SampleProfileReaderGCC::readModuleGroup() {
-  // FIXME(dnovillo) - Module support still not implemented.
-  return sampleprof_error::not_implemented;
-}
-
-std::error_code SampleProfileReaderGCC::readWorkingSet() {
-  // FIXME(dnovillo) - Working sets still not implemented.
-  return sampleprof_error::not_implemented;
-}
-
 /// \brief Read a GCC AutoFDO profile.
 ///
 /// This format is generated by the Linux Perf conversion tool at
@@ -694,18 +684,6 @@ std::error_code SampleProfileReaderGCC::read() {
   if (std::error_code EC = readFunctionProfiles())
     return EC;
 
-// FIXME(dnovillo) - Module groups and working set support are not
-// yet implemented.
-#if 0
-  // Read the module group file.
-  if (std::error_code EC = readModuleGroup())
-    return EC;
-
-  // Read the working set.
-  if (std::error_code EC = readWorkingSet())
-    return EC;
-#endif
-
   return sampleprof_error::success;
 }