[serialization] Stop recording the full paths to input source files.

There were no clients and it leaks information about the developer's system.
After this commit, there should be no full paths present in framework modules.
(App modules may contain search paths for debugging reasons, as well as a
full or relative path to the bridging header.)

Swift SVN r24851
This commit is contained in:
Jordan Rose
2015-01-30 19:22:34 +00:00
parent 2ff77a9cd1
commit 478fdcf3ab
4 changed files with 2 additions and 34 deletions

View File

@@ -704,10 +704,6 @@ ModuleFile::ModuleFile(
StringRef blobData;
unsigned kind = cursor.readRecord(next.ID, scratch, &blobData);
switch (kind) {
case input_block::SOURCE_FILE:
assert(scratch.empty());
SourcePaths.push_back(blobData);
break;
case input_block::IMPORTED_MODULE: {
bool exported, scoped;
input_block::ImportedModuleLayout::readRecord(scratch,