[serialization] Include the module name in the serialized AST data.

We don't currently use this for anything, but if we have the module name
available and easy to access in the bitstream, we can drop the wrapper
around the serialized AST that's put into the binary itself for use by LLDB.

Swift SVN r12921
This commit is contained in:
Jordan Rose
2014-01-24 18:42:06 +00:00
parent e54deeb3c5
commit af700a1912
4 changed files with 45 additions and 22 deletions

View File

@@ -13,16 +13,12 @@
#ifndef SWIFT_SERIALIZATION_MODULELOADER_H
#define SWIFT_SERIALIZATION_MODULELOADER_H
#include "swift/Basic/Dwarf.h"
#include "swift/AST/Module.h"
#include "swift/AST/ModuleLoader.h"
#include "llvm/ADT/OwningPtr.h"
#include "llvm/Support/MemoryBuffer.h"
#include <map>
namespace swift {
class ASTContext;
class Module;
class ModuleFile;
/// \brief Imports serialized Swift modules into an ASTContext.