diff options
author | Zoltan Varga <vargaz@gmail.com> | 2018-04-10 01:48:51 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-04-10 01:48:51 +0300 |
commit | 41e928c9ae4ba958bf25e33018824c262fb987e7 (patch) | |
tree | febbca90df80bbac9f31d23dcf1503539af70094 /msvc | |
parent | 8012cf9283d1f39da86d3c972df97d8433e859f7 (diff) |
[runtime] Extract the debugger code into a separate library. (#7673)
If the runtime is configured using --enable-minimal=soft_debug, the debugger code will be compiled into a separate
libmono-dbg.a library which needs to be linked into the app. The debugger needs to be registered with the runtime by
calling mono_debugger_agent_init () before runtime initialization.
Diffstat (limited to 'msvc')
-rw-r--r-- | msvc/libmini-common.targets | 1 | ||||
-rw-r--r-- | msvc/libmini-common.targets.filters | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/msvc/libmini-common.targets b/msvc/libmini-common.targets index 624b41f0cac..27c2bc51ceb 100644 --- a/msvc/libmini-common.targets +++ b/msvc/libmini-common.targets @@ -57,6 +57,7 @@ <ClCompile Include="$(MonoSourceLocation)\mono\mini\mini-gc.c" /> <ClInclude Include="$(MonoSourceLocation)\mono\mini\debugger-agent.h" /> <ClCompile Include="$(MonoSourceLocation)\mono\mini\debugger-agent.c" /> + <ClCompile Include="$(MonoSourceLocation)\mono\mini\debugger-agent-stubs.c" /> <ClCompile Include="$(MonoSourceLocation)\mono\mini\xdebug.c" /> <ClInclude Include="$(MonoSourceLocation)\mono\mini\mini-llvm.h" /> <ClInclude Include="$(MonoSourceLocation)\mono\mini\mini-llvm-cpp.h" /> diff --git a/msvc/libmini-common.targets.filters b/msvc/libmini-common.targets.filters index d2065a9b336..5d2f5a123cf 100644 --- a/msvc/libmini-common.targets.filters +++ b/msvc/libmini-common.targets.filters @@ -169,6 +169,9 @@ <ClCompile Include="$(MonoSourceLocation)\mono\mini\debugger-agent.c"> <Filter>Source Files$(MonoMiniFilterSubFolder)\common</Filter> </ClCompile> + <ClCompile Include="$(MonoSourceLocation)\mono\mini\debugger-agent-stubs.c"> + <Filter>Source Files$(MonoMiniFilterSubFolder)\common</Filter> + </ClCompile> <ClCompile Include="$(MonoSourceLocation)\mono\mini\xdebug.c"> <Filter>Source Files$(MonoMiniFilterSubFolder)\common</Filter> </ClCompile> |