clang  19.0.0git
Classes | Namespaces | Macros | Functions
CGDebugInfo.h File Reference
#include "CGBuilder.h"
#include "clang/AST/DeclCXX.h"
#include "clang/AST/Expr.h"
#include "clang/AST/ExternalASTSource.h"
#include "clang/AST/PrettyPrinter.h"
#include "clang/AST/Type.h"
#include "clang/AST/TypeOrdering.h"
#include "clang/Basic/CodeGenOptions.h"
#include "clang/Basic/Module.h"
#include "clang/Basic/SourceLocation.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/IR/DIBuilder.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/ValueHandle.h"
#include "llvm/Support/Allocator.h"
#include <optional>
#include "clang/Basic/OpenCLImageTypes.def"
#include "clang/Basic/OpenCLExtensionTypes.def"
#include "clang/Basic/WebAssemblyReferenceTypes.def"

Go to the source code of this file.

Classes

class  clang::CodeGen::CGDebugInfo
 This class gathers all debug information during compilation and is responsible for emitting to llvm globals or pass directly to the backend. More...
 
class  clang::CodeGen::ApplyDebugLocation
 A scoped helper to set the current debug location to the specified location or preferred location of the specified Expr. More...
 
class  clang::CodeGen::ApplyInlineDebugLocation
 A scoped helper to set the current debug location to an inlined location. More...
 

Namespaces

 llvm
 Diagnostic wrappers for TextAPI types for error reporting.
 
 clang
 The JSON file list parser is used to communicate input to InstallAPI.
 
 clang::CodeGen
 

Macros

#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)    llvm::DIType *SingletonId = nullptr;
 
#define IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix)    llvm::DIType *Sampled##SingletonId = nullptr;
 
#define IMAGE_WRITE_TYPE(Type, Id, Ext)
 
#define IMAGE_READ_WRITE_TYPE(Type, Id, Ext)
 
#define EXT_OPAQUE_TYPE(ExtType, Id, Ext)    llvm::DIType *Id##Ty = nullptr;
 
#define WASM_TYPE(Name, Id, SingletonId)   llvm::DIType *SingletonId = nullptr;
 

Functions

bool clang::CodeGen::noSystemDebugInfo (const Decl *D, const CodeGenModule &CGM)
 

Macro Definition Documentation

◆ EXT_OPAQUE_TYPE

#define EXT_OPAQUE_TYPE (   ExtType,
  Id,
  Ext 
)     llvm::DIType *Id##Ty = nullptr;

Definition at line 85 of file CGDebugInfo.h.

◆ IMAGE_READ_WRITE_TYPE

#define IMAGE_READ_WRITE_TYPE (   Type,
  Id,
  Ext 
)

Definition at line 77 of file CGDebugInfo.h.

◆ IMAGE_TYPE [1/2]

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)     llvm::DIType *SingletonId = nullptr;

Definition at line 74 of file CGDebugInfo.h.

◆ IMAGE_TYPE [2/2]

#define IMAGE_TYPE (   ImgType,
  Id,
  SingletonId,
  Access,
  Suffix 
)     llvm::DIType *Sampled##SingletonId = nullptr;

Definition at line 74 of file CGDebugInfo.h.

◆ IMAGE_WRITE_TYPE

#define IMAGE_WRITE_TYPE (   Type,
  Id,
  Ext 
)

Definition at line 76 of file CGDebugInfo.h.

◆ WASM_TYPE

#define WASM_TYPE (   Name,
  Id,
  SingletonId 
)    llvm::DIType *SingletonId = nullptr;

Definition at line 88 of file CGDebugInfo.h.