summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ProfileData/SampleProfReader.cpp
diff options
context:
space:
mode:
authorDiego Novillo <dnovillo@google.com>2015-10-05 21:08:05 +0000
committerDiego Novillo <dnovillo@google.com>2015-10-05 21:08:05 +0000
commit91cbed84d966378389525bcde62146b7ffd1ec5e (patch)
treedc96770a41322f8c7b56eae2066001b991ab367e /llvm/lib/ProfileData/SampleProfReader.cpp
parentd75fbd221d8c0bfbf918b0efa63c8224527c065b (diff)
downloadbcm5719-llvm-91cbed84d966378389525bcde62146b7ffd1ec5e.tar.gz
bcm5719-llvm-91cbed84d966378389525bcde62146b7ffd1ec5e.zip
Remove AutoFDO profile handling for GCC's LIPO. NFC.
Given the work we are doing on ThinLTO, we will never need to support module groups and working sets in GCC's implementation of LIPO. These are currently dead code, and will continue to be so. llvm-svn: 249351
Diffstat (limited to 'llvm/lib/ProfileData/SampleProfReader.cpp')
-rw-r--r--llvm/lib/ProfileData/SampleProfReader.cpp22
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/ProfileData/SampleProfReader.cpp b/llvm/lib/ProfileData/SampleProfReader.cpp
index 9b579e6319d..94f87996bea 100644
--- a/llvm/lib/ProfileData/SampleProfReader.cpp
+++ b/llvm/lib/ProfileData/SampleProfReader.cpp
@@ -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;
}
OpenPOWER on IntegriCloud