diff options
| author | Justin Bogner <mail@justinbogner.com> | 2014-03-12 21:06:31 +0000 |
|---|---|---|
| committer | Justin Bogner <mail@justinbogner.com> | 2014-03-12 21:06:31 +0000 |
| commit | 07cdaf54b0678548b578063229ba37eb79200ee1 (patch) | |
| tree | ca9009b7b0b019896be9117e568b13fdf347710c /lib/CodeGen/CodeGenModule.h | |
| parent | 7c9210c534a8fb77c17da943ea7c7871833b0699 (diff) | |
| download | clang-07cdaf54b0678548b578063229ba37eb79200ee1.tar.gz clang-07cdaf54b0678548b578063229ba37eb79200ee1.tar.bz2 clang-07cdaf54b0678548b578063229ba37eb79200ee1.tar.xz | |
Revert "CodeGen: Use a binary format for instrumentation based profiling"
I've clearly done something wrong with how to get this to link
correctly. Reverting for now.
This reverts commit r203711.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@203712 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | lib/CodeGen/CodeGenModule.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 061ec48e37..4bd8b7a3de 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -42,7 +42,6 @@ namespace llvm { class DataLayout; class FunctionType; class LLVMContext; - class ProfileDataReader; } namespace clang { @@ -86,6 +85,7 @@ namespace CodeGen { class CGCUDARuntime; class BlockFieldFlags; class FunctionArgList; + class PGOProfileData; struct OrderGlobalInits { unsigned int priority; @@ -257,7 +257,7 @@ class CodeGenModule : public CodeGenTypeCache { ARCEntrypoints *ARCData; llvm::MDNode *NoObjCARCExceptionsMetadata; RREntrypoints *RRData; - std::unique_ptr<llvm::ProfileDataReader> PGOReader; + PGOProfileData *PGOData; // WeakRefReferences - A set of references that have only been seen via // a weakref so far. This is used to remove the weak of the reference if we @@ -480,8 +480,8 @@ public: return *RRData; } - llvm::ProfileDataReader *getPGOReader() const { - return PGOReader.get(); + PGOProfileData *getPGOData() const { + return PGOData; } llvm::Constant *getStaticLocalDeclAddress(const VarDecl *D) { |
