| 1 | // Licensed to the .NET Foundation under one or more agreements. |
| 2 | // The .NET Foundation licenses this file to you under the MIT license. |
| 3 | // See the LICENSE file in the project root for more information. |
| 4 | |
| 5 | |
| 6 | #include "stdafx.h" |
| 7 | |
| 8 | // |
| 9 | // This file exists just to pull in platform specific source files. More precisely we're switching on the |
| 10 | // platform being targetted for debugging (not the platform we're currently building debugger executables |
| 11 | // for). We do this instead of using build rules to overcome limitations with build when it comes including |
| 12 | // different source files based on build macros. |
| 13 | // |
| 14 | |
| 15 | #if FEATURE_DBGIPC_TRANSPORT_DI |
| 16 | #include "dbgtransportpipeline.cpp" |
| 17 | #include "shimremotedatatarget.cpp" |
| 18 | #include "remoteeventchannel.cpp" |
| 19 | #elif WIN32 |
| 20 | #include "WindowsPipeline.cpp" |
| 21 | #include "EventRedirectionPipeline.cpp" |
| 22 | #include "ShimLocalDataTarget.cpp" |
| 23 | #include "LocalEventChannel.cpp" |
| 24 | #endif |
| 25 | |
| 26 | #if DBG_TARGET_X86 |
| 27 | #include "i386/cordbregisterset.cpp" |
| 28 | #include "i386/primitives.cpp" |
| 29 | #elif DBG_TARGET_AMD64 |
| 30 | #include "amd64/cordbregisterset.cpp" |
| 31 | #include "amd64/primitives.cpp" |
| 32 | #elif DBG_TARGET_ARM |
| 33 | #include "arm/cordbregisterset.cpp" |
| 34 | #include "arm/primitives.cpp" |
| 35 | #elif DBG_TARGET_ARM64 |
| 36 | #include "arm64/cordbregisterset.cpp" |
| 37 | #include "arm64/primitives.cpp" |
| 38 | #else |
| 39 | #error Unsupported platform |
| 40 | #endif |
| 41 | |