summaryrefslogtreecommitdiff
path: root/src/mscorlib/src/System/Diagnostics/SymbolStore/SymAddressKind.cs
blob: a7f866f2ecd0a180ab4c210df258b4c1dbf431b3 (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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.

/*============================================================
**
**
**
** Represents address Kinds used with local variables, parameters, and
** fields.
**
** 
===========================================================*/
namespace System.Diagnostics.SymbolStore {
    // Only statics, does not need to be marked with the serializable attribute    
    using System;

    [Serializable]
[System.Runtime.InteropServices.ComVisible(true)]
    public enum SymAddressKind
    {
        // ILOffset: addr1 = IL local var or param index.
        ILOffset = 1,
    
        // NativeRVA: addr1 = RVA into module.
        NativeRVA = 2,
    
        // NativeRegister: addr1 = register the var is stored in.
        NativeRegister = 3,
    
        // NativeRegisterRelative: addr1 = register, addr2 = offset.
        NativeRegisterRelative = 4,
    
        // NativeOffset: addr1 = offset from start of parent.
        NativeOffset = 5,
    
        // NativeRegisterRegister: addr1 = reg low, addr2 = reg high.
        NativeRegisterRegister = 6,
    
        // NativeRegisterStack: addr1 = reg low, addr2 = reg stk, addr3 = offset.
        NativeRegisterStack = 7,
    
        // NativeStackRegister: addr1 = reg stk, addr2 = offset, addr3 = reg high.
        NativeStackRegister = 8,
    
        // BitField: addr1 = field start, addr = field length.
        BitField = 9,

        // NativeSectionOffset: addr1 = section, addr = offset
        NativeSectionOffset = 10,
    }
}