mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
For this we are linking the new re-mangler instead of the old one into the swift runtime library. Also we are linking the new de-mangling into the swift runtime library. It also switches to the new mangling for class names of generic swift classes in the metadata. Note that for non-generic class we still have to use the old mangling, because the ObjC runtime in the OS depends on it (it de-mangles the class names). But names of generic classes are not handled by the ObjC runtime anyway, so there should be no problem to change the mangling for those. The reason for this change is that it avoids linking the old re-mangler into the runtime library.
18 lines
745 B
C++
18 lines
745 B
C++
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the Swift.org open source project
|
|
//
|
|
// Copyright (c) 2014 - 2017 Apple Inc. and the Swift project authors
|
|
// Licensed under Apache License v2.0 with Runtime Library Exception
|
|
//
|
|
// See https://swift.org/LICENSE.txt for license information
|
|
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
#include "../../../lib/Basic/Demangle.cpp"
|
|
#include "../../../lib/Basic/Demangler.cpp"
|
|
#include "../../../lib/Basic/ManglingUtils.cpp"
|
|
#include "../../../lib/Basic/Punycode.cpp"
|
|
#include "../../../lib/Basic/PunycodeUTF8.cpp"
|