diff options
author | Vedant Kumar <vsk@apple.com> | 2016-07-11 22:57:44 +0000 |
---|---|---|
committer | Vedant Kumar <vsk@apple.com> | 2016-07-11 22:57:44 +0000 |
commit | a64bed41d1a957fa037843dc544ea47d20621265 (patch) | |
tree | 019d38801ad9ed9edca7da2e2e1d0a9cf8a97c5f /lib/CodeGen/CodeGenPGO.h | |
parent | 68899dcb7f6a38a5021dc7edc0015e3fc5f4da85 (diff) |
[Coverage] Move logic to skip decl's into a helper (NFC)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@275120 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenPGO.h')
-rw-r--r-- | lib/CodeGen/CodeGenPGO.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenPGO.h b/lib/CodeGen/CodeGenPGO.h index ccda5759e6..d03f23535b 100644 --- a/lib/CodeGen/CodeGenPGO.h +++ b/lib/CodeGen/CodeGenPGO.h @@ -103,6 +103,7 @@ private: llvm::Function *Fn); void loadRegionCounts(llvm::IndexedInstrProfReader *PGOReader, bool IsInMainFile); + bool skipRegionMappingForDecl(const Decl *D); void emitCounterRegionMapping(const Decl *D); public: |