mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Expose Swift search paths in validateSerializedAST
This is for the benefit of LLDB, which currently does an expensive import of all modules to get to the same information. rdar://40097459
This commit is contained in:
@@ -151,16 +151,11 @@ private:
|
||||
/// All modules this module depends on.
|
||||
SmallVector<Dependency, 8> Dependencies;
|
||||
|
||||
struct SearchPath {
|
||||
std::string Path;
|
||||
bool IsFramework;
|
||||
bool IsSystem;
|
||||
};
|
||||
/// Search paths this module may provide.
|
||||
///
|
||||
/// This is not intended for use by frameworks, but may show up in debug
|
||||
/// modules.
|
||||
std::vector<SearchPath> SearchPaths;
|
||||
std::vector<serialization::SearchPath> SearchPaths;
|
||||
|
||||
/// Info for the (lone) imported header for this module.
|
||||
struct {
|
||||
|
||||
Reference in New Issue
Block a user