diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2011-06-12 18:01:31 +0000 | 
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2011-06-12 18:01:31 +0000 | 
| commit | bd5abe19687421cb3ad4dca066732ed0b437531b (patch) | |
| tree | a9b264321873e7d25e69b8671c9f705ebc6d30ee /contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h | |
| parent | 74d92904a6e0f2d301cdeec3f8af4fbe4a968146 (diff) | |
| parent | 56fe8f14099930935e3870e3e823c322a85c1c89 (diff) | |
Notes
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h | 10 | 
1 files changed, 9 insertions, 1 deletions
| diff --git a/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h b/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h index 99c973cce628..779a3523b7f6 100644 --- a/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h +++ b/contrib/llvm/tools/clang/lib/CodeGen/CodeGenModule.h @@ -97,16 +97,20 @@ namespace CodeGen {    };    struct CodeGenTypeCache { +    /// void +    const llvm::Type *VoidTy; +      /// i8, i32, and i64      const llvm::IntegerType *Int8Ty, *Int32Ty, *Int64Ty;      /// int      const llvm::IntegerType *IntTy; -    /// intptr_t and size_t, which we assume are the same +    /// intptr_t, size_t, and ptrdiff_t, which we assume are the same size.      union {        const llvm::IntegerType *IntPtrTy;        const llvm::IntegerType *SizeTy; +      const llvm::IntegerType *PtrDiffTy;      };      /// void* in address space 0 @@ -735,6 +739,10 @@ private:    void EmitDeclMetadata(); +  /// EmitCoverageFile - Emit the llvm.gcov metadata used to tell LLVM where +  /// to emit the .gcno and .gcda files in a way that persists in .bc files. +  void EmitCoverageFile(); +    /// MayDeferGeneration - Determine if the given decl can be emitted    /// lazily; this is only relevant for definitions. The given decl    /// must be either a function or var decl. | 
