clang 18.0.0git
Classes | Namespaces | Macros
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

namespace  llvm
 YAML serialization mapping.
 
namespace  clang
 
namespace  clang::CodeGen
 

Macros

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

Macro Definition Documentation

◆ EXT_OPAQUE_TYPE

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

Definition at line 80 of file CGDebugInfo.h.

◆ IMAGE_TYPE

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

Definition at line 71 of file CGDebugInfo.h.

◆ WASM_TYPE

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

Definition at line 83 of file CGDebugInfo.h.