Update ELT Hooks - tail calls.md (#34926)
authorDavid Mason <davmason@microsoft.com>
Tue, 14 Apr 2020 00:31:19 +0000 (17:31 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Apr 2020 00:31:19 +0000 (20:31 -0400)
docs/design/coreclr/profiling/davbr-blog-archive/ELT Hooks - tail calls.md

index f24ce3b..3cca8c9 100644 (file)
@@ -219,7 +219,7 @@ Helper
 Main
 ```
 
-until you get a Leave hook for Helper(). At this point, you need to pop Helper() from your shadow stack, but he's not at the top-- he's buried under all your "deferred pop" frames. So your profiler would need to perform the deferred pops if a frame above OR below them gets popped. Hopefully, the yuckiness of this implementation will scare you straight.  But the confusion of presenting crazy stacks to the user is the real reason to abandon Method 2 and go with Method 1.
+until you get a Leave hook for Helper(). At this point, you need to pop Helper() from your shadow stack, but he's not at the top-- he's buried under all your "deferred pop" frames. So your profiler would need to perform the deferred pops if a frame above OR below them gets popped. Hopefully, the yuckiness of this implementation will scare you straight.  But the confusion of presenting invalid stacks to the user is the real reason to abandon Method 2 and go with Method 1.
 
 ### Call tracing