diff options
author | Diego Novillo <dnovillo@google.com> | 2015-10-05 21:08:05 +0000 |
---|---|---|
committer | Diego Novillo <dnovillo@google.com> | 2015-10-05 21:08:05 +0000 |
commit | 91cbed84d966378389525bcde62146b7ffd1ec5e (patch) | |
tree | dc96770a41322f8c7b56eae2066001b991ab367e /llvm/lib/ProfileData/SampleProfReader.cpp | |
parent | d75fbd221d8c0bfbf918b0efa63c8224527c065b (diff) | |
download | bcm5719-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.cpp | 22 |
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; } |