Search Results for

    Show / Hide Table of Contents

    Class CMangler

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

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

    Fields

    | Edit this page View Source

    Instance

    An instance of a C name mangler.

    Declaration
    public static readonly CMangler Instance
    Field Value
    Type Description
    CMangler

    Methods

    | Edit this page View Source

    Mangle(IField, bool)

    Gets the given field's mangled name.

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

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

    Returns
    Type Description
    string

    The mangled name.

    Overrides
    NameMangler.Mangle(IField, bool)
    | Edit this page View Source

    Mangle(IMethod, bool)

    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.

    bool mangleFullName

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

    Returns
    Type Description
    string

    The mangled name.

    Overrides
    NameMangler.Mangle(IMethod, bool)
    | Edit this page View Source

    Mangle(IType, bool)

    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.

    bool mangleFullName

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

    Returns
    Type Description
    string

    The mangled name.

    Overrides
    NameMangler.Mangle(IType, bool)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX