clang: lib/CodeGen/CGDebugInfo.h File Reference (original) (raw)
#include "[CGBuilder.h](CGBuilder%5F8h%5Fsource.html)"#include "[SanitizerHandler.h](SanitizerHandler%5F8h%5Fsource.html)"#include "[clang/AST/DeclCXX.h](DeclCXX%5F8h%5Fsource.html)"#include "[clang/AST/Expr.h](Expr%5F8h%5Fsource.html)"#include "[clang/AST/ExternalASTSource.h](ExternalASTSource%5F8h%5Fsource.html)"#include "[clang/AST/PrettyPrinter.h](PrettyPrinter%5F8h%5Fsource.html)"#include "[clang/AST/Type.h](Type%5F8h%5Fsource.html)"#include "[clang/AST/TypeOrdering.h](TypeOrdering%5F8h%5Fsource.html)"#include "[clang/Basic/ASTSourceDescriptor.h](ASTSourceDescriptor%5F8h%5Fsource.html)"#include "[clang/Basic/CodeGenOptions.h](CodeGenOptions%5F8h%5Fsource.html)"#include "[clang/Basic/SourceLocation.h](SourceLocation%5F8h%5Fsource.html)"#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 <map>#include <optional>#include <string>#include "clang/Basic/OpenCLImageTypes.def"#include "clang/Basic/OpenCLExtensionTypes.def"#include "clang/Basic/WebAssemblyReferenceTypes.def"#include "clang/Basic/AMDGPUTypes.def"#include "clang/Basic/HLSLIntangibleTypes.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... | |
| class | clang::CodeGen::SanitizerDebugLocation |
| Namespaces | |
|---|---|
| namespace | llvm |
| Diagnostic wrappers for TextAPI types for error reporting. | |
| namespace | clang |
| The JSON file list parser is used to communicate input to InstallAPI. | |
| namespace | clang::CodeGen |
| Macros | |
|---|---|
| #define | IMAGE_TYPE(ImgType, Id, SingletonId, Access, Suffix) |
| #define | EXT_OPAQUE_TYPE(ExtType, Id, Ext) |
| #define | WASM_TYPE(Name, Id, SingletonId) |
| #define | AMDGPU_TYPE(Name, Id, SingletonId, Width, Align) |
| #define | HLSL_INTANGIBLE_TYPE(Name, Id, SingletonId) |
◆ AMDGPU_TYPE
| #define AMDGPU_TYPE | ( | Name, |
|---|---|---|
| Id, | ||
| SingletonId, | ||
| Width, | ||
| Align ) |
Value:
llvm::DIType *SingletonId = nullptr;
Definition at line 91 of file CGDebugInfo.h.
◆ EXT_OPAQUE_TYPE
| #define EXT_OPAQUE_TYPE | ( | ExtType, |
|---|---|---|
| Id, | ||
| Ext ) |
Value:
llvm::DIType *Id##Ty = nullptr;
Definition at line 86 of file CGDebugInfo.h.
◆ HLSL_INTANGIBLE_TYPE
| #define HLSL_INTANGIBLE_TYPE | ( | Name, |
|---|---|---|
| Id, | ||
| SingletonId ) |
Value:
llvm::DIType *SingletonId = nullptr;
Definition at line 94 of file CGDebugInfo.h.
◆ IMAGE_TYPE
| #define IMAGE_TYPE | ( | ImgType, |
|---|---|---|
| Id, | ||
| SingletonId, | ||
| Access, | ||
| Suffix ) |
Value:
llvm::DIType *SingletonId = nullptr;
Definition at line 77 of file CGDebugInfo.h.
◆ WASM_TYPE
| #define WASM_TYPE | ( | Name, |
|---|---|---|
| Id, | ||
| SingletonId ) |
Value:
llvm::DIType *SingletonId = nullptr;
Definition at line 89 of file CGDebugInfo.h.