File tree Expand file tree Collapse file tree 7 files changed +22
-57
lines changed Expand file tree Collapse file tree 7 files changed +22
-57
lines changed Original file line number Diff line number Diff line change 1
1
add_swift_library (swiftReflection STATIC TARGET_LIBRARY FORCE_BUILD_FOR_HOST_SDK
2
- Demangle.cpp
3
2
MetadataSource.cpp
4
- Remangle.cpp
5
3
TypeLowering.cpp
6
4
TypeRef.cpp
7
5
TypeRefBuilder.cpp
6
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Context.cpp"
7
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/OldDemangler.cpp"
8
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Demangler.cpp"
9
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/NodePrinter.cpp"
10
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/ManglingUtils.cpp"
11
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Punycode.cpp"
12
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Remangler.cpp"
8
13
9
14
C_COMPILE_FLAGS ${SWIFT_RUNTIME_CXX_FLAGS}
10
15
LINK_FLAGS ${SWIFT_RUNTIME_LINK_FLAGS}
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -32,8 +32,8 @@ set(swift_runtime_objc_sources
32
32
ErrorObject.mm
33
33
SwiftObject.mm
34
34
SwiftValue.mm
35
- Remangle.cpp
36
- Reflection.mm )
35
+ Reflection.mm
36
+ " ${SWIFT_SOURCE_DIR} /lib/Demangling/Remangler.cpp" )
37
37
38
38
set (swift_runtime_sources
39
39
AnyHashableSupport.cpp
@@ -59,11 +59,16 @@ set(swift_runtime_sources
59
59
Portability.cpp
60
60
ProtocolConformance.cpp
61
61
RefCount.cpp
62
- RuntimeEntrySymbols.cpp )
62
+ RuntimeEntrySymbols.cpp
63
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/OldDemangler.cpp"
64
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Demangler.cpp"
65
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/NodePrinter.cpp"
66
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Context.cpp"
67
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/ManglingUtils.cpp"
68
+ "${SWIFT_SOURCE_DIR} /lib/Demangling/Punycode.cpp" )
63
69
64
70
# Acknowledge that the following sources are known.
65
71
set (LLVM_OPTIONAL_SOURCES
66
- Remangle.cpp
67
72
swift_sections.S
68
73
MutexPThread.cpp
69
74
MutexWin32.cpp
Original file line number Diff line number Diff line change 10
10
//
11
11
// ===----------------------------------------------------------------------===//
12
12
13
- #include " ../../../lib/Demangling/OldDemangler.cpp"
14
- #include " ../../../lib/Demangling/Demangler.cpp"
15
- #include " ../../../lib/Demangling/NodePrinter.cpp"
16
- #include " ../../../lib/Demangling/Context.cpp"
17
- #include " ../../../lib/Demangling/ManglingUtils.cpp"
18
- #include " ../../../lib/Demangling/Punycode.cpp"
19
13
#include " swift/Runtime/Metadata.h"
14
+ #include " swift/Strings.h"
20
15
#include " Private.h"
21
16
17
+ #include < vector>
18
+
22
19
#if SWIFT_OBJC_INTEROP
23
20
#include < objc/runtime.h>
24
21
#endif
25
22
23
+ using namespace swift ;
24
+
26
25
// FIXME: This stuff should be merged with the existing logic in
27
26
// include/swift/Reflection/TypeRefBuilder.h as part of the rewrite
28
27
// to change stdlib reflection over to using remote mirrors.
Original file line number Diff line number Diff line change 17
17
#ifndef SWIFT_RUNTIME_PRIVATE_H
18
18
#define SWIFT_RUNTIME_PRIVATE_H
19
19
20
- #include " swift/Demangling/Demangle .h"
20
+ #include " swift/Demangling/Demangler .h"
21
21
#include " swift/Runtime/Config.h"
22
22
#include " swift/Runtime/Metadata.h"
23
23
#include " llvm/Support/Compiler.h"
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments