Remove RemoteInspection code to fetch no-longer-used reflection metadata

without relying on spare bit information in the reflection metadata
(which was added in #40906).  As a result, we can remove the
code from #40906.

This is the first step in such removal.  It removes the RemoteMirror
code for looking up such metadata.  It leaves behind:

* Sufficient stubs for LLDB to continue to build.  Once LLDB is updated, these stubs can be removed as well.

* The compiler code to emit such metadata.  This allows new binaries to still reflect MPEs on older runtimes.  This will need to be kept for a transitional period.
This commit is contained in:
Tim Kientzle
2024-06-13 09:34:43 -07:00
parent 20f0353f2b
commit c20ef6de2a
11 changed files with 25 additions and 325 deletions

View File

@@ -68,7 +68,6 @@ DECLARE_SWIFT_REFLECTION_SECTION(swift5_assocty)
DECLARE_SWIFT_REFLECTION_SECTION(swift5_capture)
DECLARE_SWIFT_REFLECTION_SECTION(swift5_reflstr)
DECLARE_SWIFT_REFLECTION_SECTION(swift5_typeref)
DECLARE_SWIFT_REFLECTION_SECTION(swift5_mpenum)
DECLARE_SWIFT_SECTION(swift5_replace)
DECLARE_SWIFT_SECTION(swift5_replac2)
@@ -109,7 +108,6 @@ static void swift_image_constructor() {
SWIFT_SECTION_RANGE(swift5_replac2),
SWIFT_SECTION_RANGE(swift5_builtin),
SWIFT_SECTION_RANGE(swift5_capture),
SWIFT_SECTION_RANGE(swift5_mpenum),
SWIFT_SECTION_RANGE(swift5_accessible_functions),
SWIFT_SECTION_RANGE(swift5_runtime_attributes),
SWIFT_SECTION_RANGE(swift5_tests),