Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/corert.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Strehovský <MichalStrehovsky@users.noreply.github.com>2017-08-23 04:03:40 +0300
committerGitHub <noreply@github.com>2017-08-23 04:03:40 +0300
commit6d7786795a52fa2bcaf50eebada54b6ba581116f (patch)
tree5ebadc4afd3c32c4544485b888cb39c1c56427fe /src/ILCompiler.TypeSystem
parent4c446d524a8d8a14856c2221a3e6a8a6d1cc56fc (diff)
Fix debugger stepping into Main method (#4364)
This fixes a long standing pet peeve of mine: F11 into the `__managed_Main` method doesn't work and steps over the method instead. This adds infrastructure so that we can do `DebuggerGuidedStepThrough` on generated methods. A slight annoyance is that for UTC, the FEEFEE sequence point needs to be on a NOP that precedes the call, and that scheme doesn't work for RyuJIT. But UTC will need to fix that anyway because we won't be rewriting IL for them in the future and no-NOP is how DebuggerGuidedStepThrough methods are in C# when used from within the BCL.
Diffstat (limited to 'src/ILCompiler.TypeSystem')
-rw-r--r--src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj b/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
index a555a440c..67bbb498f 100644
--- a/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
+++ b/src/ILCompiler.TypeSystem/src/ILCompiler.TypeSystem.csproj
@@ -421,6 +421,9 @@
<Compile Include="..\..\Common\src\TypeSystem\IL\Stubs\ILEmitter.cs">
<Link>IL\Stubs\ILEmitter.cs</Link>
</Compile>
+ <Compile Include="..\..\Common\src\TypeSystem\IL\Stubs\DebuggerSteppingHelpers.cs">
+ <Link>IL\Stubs\DebuggerSteppingHelpers.cs</Link>
+ </Compile>
<Compile Include="..\..\Common\src\TypeSystem\IL\Stubs\DelegateMarshallingMethodThunk.cs">
<Link>IL\Stubs\DelegateMarshallingMethodThunk.cs</Link>
</Compile>