aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/CodeGen/Linking/SymbolType.cs
blob: 29011a7626b401696f8858c78278158fc135350a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace ARMeilleure.CodeGen.Linking
{
    /// <summary>
    /// Types of <see cref="Symbol"/>.
    /// </summary>
    enum SymbolType : byte
    {
        /// <summary>
        /// Refers to nothing, i.e no symbol.
        /// </summary>
        None,

        /// <summary>
        /// Refers to an entry in <see cref="Translation.Delegates"/>.
        /// </summary>
        DelegateTable,

        /// <summary>
        /// Refers to an entry in <see cref="Translation.Translator.FunctionTable"/>.
        /// </summary>
        FunctionTable,

        /// <summary>
        /// Refers to a special symbol which is handled by <see cref="Translation.PTC.Ptc.PatchCode"/>.
        /// </summary>
        Special,
    }
}