From 8c637de325578398894d482f4855d0db4af78dbb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Strehovsk=C3=BD?= Date: Thu, 18 May 2023 12:34:22 +0900 Subject: [PATCH] Add natstepfilter to skip over object allocators (#86418) VS 17.6 added support for natstepfilter in project files. Take advantage of it to skip over object allocators that we pretty much never want to step into. I'm following up with some VS debugger people to see if there's any plans to allow embedding this in the PDB like natvis. Having this in the vcxproj helps the repro project, but doesn't help end user scenarios. --- src/coreclr/nativeaot/BuildIntegration/NativeAOT.natstepfilter | 7 +++++++ src/coreclr/tools/aot/ILCompiler/reproNative/reproNative.vcxproj | 1 + 2 files changed, 8 insertions(+) create mode 100644 src/coreclr/nativeaot/BuildIntegration/NativeAOT.natstepfilter diff --git a/src/coreclr/nativeaot/BuildIntegration/NativeAOT.natstepfilter b/src/coreclr/nativeaot/BuildIntegration/NativeAOT.natstepfilter new file mode 100644 index 0000000..395fe22 --- /dev/null +++ b/src/coreclr/nativeaot/BuildIntegration/NativeAOT.natstepfilter @@ -0,0 +1,7 @@ + + + + RhpNewFast|RhpNewFinalizable|RhpNewFastAlign8|RhpNewFastMisalign|RhpNewFinalizableAlign8|RhpNewArray|RhpNewArrayAlign8 + NoStepInto + + diff --git a/src/coreclr/tools/aot/ILCompiler/reproNative/reproNative.vcxproj b/src/coreclr/tools/aot/ILCompiler/reproNative/reproNative.vcxproj index 3630ada..f3905c8 100644 --- a/src/coreclr/tools/aot/ILCompiler/reproNative/reproNative.vcxproj +++ b/src/coreclr/tools/aot/ILCompiler/reproNative/reproNative.vcxproj @@ -130,6 +130,7 @@ + -- 2.7.4