Skip to content

Commit

Permalink
Revert "[SampleFDO][NFC] Refactor SampleProfile.cpp"
Browse files Browse the repository at this point in the history
This reverts commit 310b353.
The build is broken with -DBUILD_SHARED_LIBS=ON :

lib/ProfileData/CMakeFiles/LLVMProfileData.dir/SampleProfileLoaderBaseUtil.cpp.o: In function `llvm::sampleprofutil::callsiteIsHot(llvm::sampleprof::FunctionSamples const*, llvm::ProfileSummaryInfo*, bool)':
SampleProfileLoaderBaseUtil.cpp:(.text._ZN4llvm14sampleprofutil13callsiteIsHotEPKNS_10sampleprof15FunctionSamplesEPNS_18ProfileSummaryInfoEb+0x1a): undefined reference to `llvm::ProfileSummaryInfo::isColdCount(unsigned long) const'
SampleProfileLoaderBaseUtil.cpp:(.text._ZN4llvm14sampleprofutil13callsiteIsHotEPKNS_10sampleprof15FunctionSamplesEPNS_18ProfileSummaryInfoEb+0x28): undefined reference to `llvm::ProfileSummaryInfo::isHotCount(unsigned long) const'
...
  • Loading branch information
joker-eph committed Feb 16, 2021
1 parent c312029 commit c761fe7
Show file tree
Hide file tree
Showing 5 changed files with 992 additions and 1,162 deletions.
Loading

0 comments on commit c761fe7

Please sign in to comment.