Emit an ELF .symver directive.

Synopsis

Declared in <llvm/MC/MCStreamer.h>

virtual
void
emitELFSymverDirective(
    MCSymbol const* OriginalSym,
    StringRef Name,
    bool KeepOriginalSym);

Description

This corresponds to an assembler statement such as: .symver _start, foo@SOME_VERSION

Parameters

Name

Description

OriginalSym

MCSymbol ‐ Instances of this class represent a symbol name in the MC file, and MCSymbols are created and uniqued by the MCContext class. MCSymbols should only be constructed with valid names for the object file.

Name

Represent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.

Created with MrDocs