mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[driver] Add -emit-sib primary action.
Swift SVN r25783
This commit is contained in:
@@ -99,15 +99,18 @@ class SerializedASTFile final : public LoadedFile {
|
||||
friend class SerializedSILLoader;
|
||||
|
||||
ModuleFile &File;
|
||||
bool IsSIB;
|
||||
|
||||
~SerializedASTFile() = default;
|
||||
|
||||
SerializedASTFile(Module &M, ModuleFile &file)
|
||||
: LoadedFile(FileUnitKind::SerializedAST, M), File(file) {}
|
||||
SerializedASTFile(Module &M, ModuleFile &file, bool isSIB = false)
|
||||
: LoadedFile(FileUnitKind::SerializedAST, M), File(file), IsSIB(isSIB) {}
|
||||
|
||||
public:
|
||||
ModuleFile &getFile() const { return File; }
|
||||
|
||||
bool isSIB() const { return IsSIB; }
|
||||
|
||||
virtual bool isSystemModule() const override;
|
||||
|
||||
virtual void lookupValue(Module::AccessPathTy accessPath,
|
||||
|
||||
Reference in New Issue
Block a user