Show / Hide Table of Contents

    Class CMangler

    A name mangler implementation for C compatibility. Names are left neither mangled nor prefixed.

    Inheritance
    System.Object
    NameMangler
    CMangler
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Flame.Llvm
    Assembly: Flame.Llvm.dll
    Syntax
    public sealed class CMangler : NameMangler

    Fields

    | Improve this Doc View Source

    Instance

    An instance of a C name mangler.

    Declaration
    public static readonly CMangler Instance
    Field Value
    Type Description
    CMangler

    Methods

    | Improve this Doc View Source

    Mangle(IField, Boolean)

    Gets the given field's mangled name.

    Declaration
    public override string Mangle(IField field, bool mangleFullName)
    Parameters
    Type Name Description
    IField field
    System.Boolean mangleFullName

    If this is true, then the field's full name is mangled. Otherwise, only its name is mangled.

    Returns
    Type Description
    System.String

    The mangled name.

    Overrides
    NameMangler.Mangle(IField, Boolean)
    | Improve this Doc View Source

    Mangle(IMethod, Boolean)

    Gets the given method's mangled name.

    Declaration
    public override string Mangle(IMethod method, bool mangleFullName)
    Parameters
    Type Name Description
    IMethod method

    The method whose name is to be mangled.

    System.Boolean mangleFullName

    If this is true, then the method's full name and signature is mangled. Otherwise, only its name is mangled.

    Returns
    Type Description
    System.String

    The mangled name.

    Overrides
    NameMangler.Mangle(IMethod, Boolean)
    | Improve this Doc View Source

    Mangle(IType, Boolean)

    Gets the given type's mangled name.

    Declaration
    public override string Mangle(IType type, bool mangleFullName)
    Parameters
    Type Name Description
    IType type

    The type whose name is to be mangled.

    System.Boolean mangleFullName

    If this is true, then the type's full name is mangled. Otherwise, only its name is mangled.

    Returns
    Type Description
    System.String

    The mangled name.

    Overrides
    NameMangler.Mangle(IType, Boolean)
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX