summaryrefslogtreecommitdiff
path: root/src/inc/dbgmeta.h
diff options
context:
space:
mode:
authorJiyoung Yun <jy910.yun@samsung.com>2016-11-23 10:09:09 (GMT)
committerJiyoung Yun <jy910.yun@samsung.com>2016-11-23 10:09:09 (GMT)
commit4b4aad7217d3292650e77eec2cf4c198ea9c3b4b (patch)
tree98110734c91668dfdbb126fcc0e15ddbd93738ca /src/inc/dbgmeta.h
parentfa45f57ed55137c75ac870356a1b8f76c84b229c (diff)
downloadcoreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.zip
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.gz
coreclr-4b4aad7217d3292650e77eec2cf4c198ea9c3b4b.tar.bz2
Imported Upstream version 1.1.0upstream/1.1.0
Diffstat (limited to 'src/inc/dbgmeta.h')
-rw-r--r--src/inc/dbgmeta.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/inc/dbgmeta.h b/src/inc/dbgmeta.h
new file mode 100644
index 0000000..ce7a3bb
--- /dev/null
+++ b/src/inc/dbgmeta.h
@@ -0,0 +1,38 @@
+// 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.
+
+/* ------------------------------------------------------------------------- *
+ * DbgMeta.h - header file for debugger metadata routines
+ * ------------------------------------------------------------------------- */
+
+#ifndef _DbgMeta_h_
+#define _DbgMeta_h_
+
+#include <cor.h>
+
+/* ------------------------------------------------------------------------- *
+ * Structs to support line numbers and variables
+ * ------------------------------------------------------------------------- */
+
+class DebuggerLexicalScope;
+
+//
+// DebuggerVarInfo
+//
+// Holds basic information about local variables, method arguments,
+// and class static and instance variables.
+//
+struct DebuggerVarInfo
+{
+ LPCSTR name;
+ PCCOR_SIGNATURE sig;
+ unsigned int varNumber; // placement info for IL code
+ DebuggerLexicalScope* scope; // containing scope
+
+ DebuggerVarInfo() : name(NULL), sig(NULL), varNumber(0),
+ scope(NULL) {}
+};
+
+#endif /* _DbgMeta_h_ */
+