aboutsummaryrefslogtreecommitdiff
path: root/lib/Serialization/ASTWriter.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2011-08-01 16:01:55 +0000
committerDouglas Gregor <dgregor@apple.com>2011-08-01 16:01:55 +0000
commit5d51a1d22d862dfae44eaa098af4e09bbfebae72 (patch)
tree5da248d6369bb5e1c38100f70ec3516eb6a17122 /lib/Serialization/ASTWriter.cpp
parent9d9e3dd6ee20ff5bc48d8ef0a2880c3753d87984 (diff)
Rename the AST file's SOURCE_LOCATION_MAP to MODULE_OFFSET_MAP, to indicate the greater role it will soon play in remapping.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@136619 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Serialization/ASTWriter.cpp')
-rw-r--r--lib/Serialization/ASTWriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Serialization/ASTWriter.cpp b/lib/Serialization/ASTWriter.cpp
index e506bba8a2..649b05e21d 100644
--- a/lib/Serialization/ASTWriter.cpp
+++ b/lib/Serialization/ASTWriter.cpp
@@ -1582,7 +1582,7 @@ void ASTWriter::WriteSourceManagerBlock(SourceManager &SourceMgr,
Chain->ModuleMgr.exportLookup(Modules);
Abbrev = new BitCodeAbbrev();
- Abbrev->Add(BitCodeAbbrevOp(SOURCE_LOCATION_MAP));
+ Abbrev->Add(BitCodeAbbrevOp(MODULE_OFFSET_MAP));
Abbrev->Add(BitCodeAbbrevOp(BitCodeAbbrevOp::Blob));
unsigned SLocMapAbbrev = Stream.EmitAbbrev(Abbrev);
llvm::SmallString<2048> Buffer;
@@ -1597,7 +1597,7 @@ void ASTWriter::WriteSourceManagerBlock(SourceManager &SourceMgr,
}
}
Record.clear();
- Record.push_back(SOURCE_LOCATION_MAP);
+ Record.push_back(MODULE_OFFSET_MAP);
Stream.EmitRecordWithBlob(SLocMapAbbrev, Record,
Buffer.data(), Buffer.size());
}