llvm::DINode::getCanonicalMDString

Return the canonical md string.

Synopsis

Declared in <llvm/IR/DebugInfoMetadata.h>

static
MDString*
getCanonicalMDString(
    LLVMContext& Context,
    StringRef S);

Return Value

The canonical md string.

Parameters

NameDescription
ContextLLVM context that owns the metadata.
SString to intern as MDString.