Skip to content

Commit

Permalink
Delete dead C/C++ code files (dotnet#42782)
Browse files Browse the repository at this point in the history
Cleaned up some dead files, most of which are either not referenced
anywhere or referencing each other but not part of the overall build
plan.

The search heuristic used is not leveraging build system, but instead
lookup with multiple passes followed by manually excluding the files
which are either part of third-party libraries (libunwind, rapidjson),
a few shims cross-referencing libraries and coreclr or files that are
included in CMakeLists via globbing patterns:

* `src/coreclr/src/pal/prebuilt/idl/*.cpp`
* `src/coreclr/src/unwinder/{ARCH}/unwinder_{ARCH}.cpp`
  • Loading branch information
am11 authored Sep 27, 2020
1 parent 1d5221a commit a2c3936
Show file tree
Hide file tree
Showing 49 changed files with 5 additions and 7,133 deletions.
124 changes: 0 additions & 124 deletions src/coreclr/src/ToolBox/superpmi/superpmi-shared/registertablexarch.h

This file was deleted.

140 changes: 0 additions & 140 deletions src/coreclr/src/ToolBox/superpmi/superpmi/filecache.cpp

This file was deleted.

63 changes: 0 additions & 63 deletions src/coreclr/src/ToolBox/superpmi/superpmi/filecache.h

This file was deleted.

8 changes: 4 additions & 4 deletions src/coreclr/src/debug/di/platformspecific.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
#include "shimremotedatatarget.cpp"
#include "remoteeventchannel.cpp"
#elif WIN32
#include "WindowsPipeline.cpp"
#include "EventRedirectionPipeline.cpp"
#include "ShimLocalDataTarget.cpp"
#include "LocalEventChannel.cpp"
#include "windowspipeline.cpp"
#include "eventredirectionpipeline.cpp"
#include "shimlocaldatatarget.cpp"
#include "localeventchannel.cpp"
#endif

#if TARGET_X86
Expand Down
4 changes: 0 additions & 4 deletions src/coreclr/src/ilasm/ilasmpch.cpp

This file was deleted.

22 changes: 0 additions & 22 deletions src/coreclr/src/inc/dbgconfigstrings.h

This file was deleted.

Loading

0 comments on commit a2c3936

Please sign in to comment.