LLVM 24.0.0git
TypePool.cpp File Reference
#include "TypePool.h"
#include "llvm/ADT/SmallVector.h"
#include <cstring>

Go to the source code of this file.

Functions

static int compareTypeKeyStructure (StringRef LHS, StringRef RHS)
 Order keys by their text runs and references, recursively.

Function Documentation

◆ compareTypeKeyStructure()

int compareTypeKeyStructure ( StringRef LHS,
StringRef RHS )
static

Order keys by their text runs and references, recursively.

Unlike expansion this is a total order on distinct keys.

Definition at line 86 of file TypePool.cpp.

References compareTypeKeyStructure(), LHS, RHS, and llvm::dwarf_linker::parallel::TypeKey::takePart().

Referenced by llvm::dwarf_linker::parallel::TypeKey::compare(), and compareTypeKeyStructure().