LLVM 22.0.0git
DWARFLinkerCompileUnit.h File Reference
#include "DWARFLinkerUnit.h"
#include "llvm/DWARFLinker/DWARFFile.h"
#include <optional>

Go to the source code of this file.

Classes

struct  llvm::dwarf_linker::parallel::UnitEntryPairTy
 This is a helper structure which keeps a debug info entry with it's containing compilation unit. More...
class  llvm::dwarf_linker::parallel::CompileUnit
 Stores all information related to a compile unit, be it in its original instance of the object file or its brand new cloned and generated DIE tree. More...
struct  llvm::dwarf_linker::parallel::CompileUnit::DIEInfo
 Information gathered about source DIEs. More...
class  llvm::dwarf_linker::parallel::CompileUnit::OutputUnitVariantPtr
 Output unit selector. More...

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::dwarf_linker
namespace  llvm::dwarf_linker::parallel

Macros

#define SINGLE_FLAG_METHODS_SET(Name, Value)

Typedefs

using llvm::dwarf_linker::parallel::OffsetToUnitTy = function_ref<CompileUnit *(uint64_t Offset)>

Enumerations

enum  llvm::dwarf_linker::parallel::ResolveInterCUReferencesMode : bool { llvm::dwarf_linker::parallel::Resolve = true , llvm::dwarf_linker::parallel::AvoidResolving = false }

Functions

ArrayRef< dwarf::Attributellvm::dwarf_linker::parallel::getODRAttributes ()

Macro Definition Documentation

◆ SINGLE_FLAG_METHODS_SET

#define SINGLE_FLAG_METHODS_SET ( Name,
Value )
Value:
bool get##Name() const { return Flags & Value; } \
void set##Name() { \
auto InputData = Flags.load(); \
while (!Flags.compare_exchange_weak(InputData, InputData | Value)) { \
} \
} \
void unset##Name() { \
auto InputData = Flags.load(); \
while (!Flags.compare_exchange_weak(InputData, InputData & ~Value)) { \
} \
}

Definition at line 210 of file DWARFLinkerCompileUnit.h.