diff options
author | Zachary Turner <zturner@google.com> | 2016-07-29 18:24:26 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2016-07-29 18:24:26 +0000 |
commit | a010f5cef0a2436312f50dfa770f10c8f2a7aa02 (patch) | |
tree | 9fb4ca144551c78a3608ef2d44a1cff8838f1b89 /llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp | |
parent | b99d1cc7ed2bf3b57e7ee9528d4e0f2d30e65e5c (diff) | |
download | llvm-a010f5cef0a2436312f50dfa770f10c8f2a7aa02.zip llvm-a010f5cef0a2436312f50dfa770f10c8f2a7aa02.tar.gz llvm-a010f5cef0a2436312f50dfa770f10c8f2a7aa02.tar.bz2 |
[msf] Rename Msf to MSF.
In a previous patch, it was suggested to use all caps instead of
rolling caps for initialisms, so this patch changes everything
to do this.
llvm-svn: 277190
Diffstat (limited to 'llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp')
-rw-r--r-- | llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp b/llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp index 1a0503f..6e4bb16 100644 --- a/llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp +++ b/llvm/lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp @@ -11,9 +11,9 @@ #include "llvm/ADT/BitVector.h" -#include "llvm/DebugInfo/Msf/MsfBuilder.h" -#include "llvm/DebugInfo/Msf/StreamInterface.h" -#include "llvm/DebugInfo/Msf/StreamWriter.h" +#include "llvm/DebugInfo/MSF/MSFBuilder.h" +#include "llvm/DebugInfo/MSF/StreamInterface.h" +#include "llvm/DebugInfo/MSF/StreamWriter.h" #include "llvm/DebugInfo/PDB/Raw/DbiStream.h" #include "llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h" #include "llvm/DebugInfo/PDB/Raw/InfoStream.h" @@ -31,20 +31,20 @@ PDBFileBuilder::PDBFileBuilder(BumpPtrAllocator &Allocator) Error PDBFileBuilder::initialize(const msf::SuperBlock &Super) { auto ExpectedMsf = - MsfBuilder::create(Allocator, Super.BlockSize, Super.NumBlocks); + MSFBuilder::create(Allocator, Super.BlockSize, Super.NumBlocks); if (!ExpectedMsf) return ExpectedMsf.takeError(); auto &MsfResult = *ExpectedMsf; if (auto EC = MsfResult.setBlockMapAddr(Super.BlockMapAddr)) return EC; - Msf = llvm::make_unique<MsfBuilder>(std::move(MsfResult)); + Msf = llvm::make_unique<MSFBuilder>(std::move(MsfResult)); Msf->setFreePageMap(Super.FreeBlockMapBlock); Msf->setUnknown1(Super.Unknown1); return Error::success(); } -MsfBuilder &PDBFileBuilder::getMsfBuilder() { return *Msf; } +MSFBuilder &PDBFileBuilder::getMsfBuilder() { return *Msf; } InfoStreamBuilder &PDBFileBuilder::getInfoBuilder() { if (!Info) @@ -58,7 +58,7 @@ DbiStreamBuilder &PDBFileBuilder::getDbiBuilder() { return *Dbi; } -Expected<msf::MsfLayout> PDBFileBuilder::finalizeMsfLayout() const { +Expected<msf::MSFLayout> PDBFileBuilder::finalizeMsfLayout() const { if (Info) { uint32_t Length = Info->calculateSerializedLength(); if (auto EC = Msf->setStreamSize(StreamPDB, Length)) |