summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-07-25 13:49:36 -0700
committerGitHub <noreply@github.com>2023-07-25 13:49:36 -0700
commitd47d54928f46f1c869c8cca5cf67b310fd18cb1d (patch)
tree75b0451d6596ee84652d2a37870ed82ef0f2ec21 /source
parentde3c1b278c6fbfef774ecd3f4fae3740d9680dcf (diff)
Add slang.natjmc. (#3018)
This allows Visual Studio debugger to skip over AST visitor dispatch functions and stop directly at the `visit*` functions when stepping into a `dispatch*` call. Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source')
-rw-r--r--source/slang/slang.natjmc19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/slang/slang.natjmc b/source/slang/slang.natjmc
new file mode 100644
index 000000000..6070614e2
--- /dev/null
+++ b/source/slang/slang.natjmc
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<NonUserCode xmlns="http://schemas.microsoft.com/vstudio/debugger/jmc/2015">
+
+ <!-- Functions -->
+ <Function Name="Slang::Expr::accept" />
+ <Function Name="Slang::DeclBase::accept" />
+
+ <Function Name="Slang::Val::accept" />
+ <Function Name="Slang::Type::accept" />
+ <Function Name="Slang::Stmt::accept" />
+ <Function Name="Slang::NodeBase::getClassInfo" />
+ <Function Name="Slang::ASTClassInfo::getInfo" />
+
+ <Function Name="Slang::*Visitor&lt;*,*&gt;::dispatch_*" />
+ <Function Name="Slang::*Visitor&lt;*,*&gt;::dispatch" />
+ <Function Name="Slang::SemanticsVisitor::dispatch*" />
+ <Function Name="Slang::Semantics*Visitor::Semantics*Visitor" />
+
+</NonUserCode> \ No newline at end of file