diff options
author | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-24 19:47:57 +0000 |
---|---|---|
committer | Francis Visoiu Mistrih <francisvm@yahoo.com> | 2019-07-24 19:47:57 +0000 |
commit | ff4b515a77880b3a0d7010287b2116f2f3b4db1d (patch) | |
tree | 565f3991623cad9eb293d69627acf6e9287f403d /llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | |
parent | c43784ff26c5ea4d16678560524ba15740d147f5 (diff) | |
download | bcm5719-llvm-ff4b515a77880b3a0d7010287b2116f2f3b4db1d.tar.gz bcm5719-llvm-ff4b515a77880b3a0d7010287b2116f2f3b4db1d.zip |
[Remarks][NFC] Rename remarks::Serializer to remarks::RemarkSerializer
llvm-svn: 366939
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index 54f6cc2d557..1d22ea8f294 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -1349,7 +1349,7 @@ void AsmPrinter::emitRemarksSection(Module &M) { RemarkStreamer *RS = M.getContext().getRemarkStreamer(); if (!RS) return; - const remarks::Serializer &Serializer = RS->getSerializer(); + const remarks::RemarkSerializer &RemarkSerializer = RS->getSerializer(); // Switch to the right section: .remarks/__remarks. MCSection *RemarksSection = @@ -1372,7 +1372,7 @@ void AsmPrinter::emitRemarksSection(Module &M) { // just use the serialize function with a raw_ostream because of the way // MCStreamers work. uint64_t StrTabSize = - Serializer.StrTab ? Serializer.StrTab->SerializedSize : 0; + RemarkSerializer.StrTab ? RemarkSerializer.StrTab->SerializedSize : 0; // Emit the total size of the string table (the size itself excluded): // little-endian uint64_t. // The total size is located after the version number. @@ -1382,7 +1382,7 @@ void AsmPrinter::emitRemarksSection(Module &M) { OutStreamer->EmitBinaryData( StringRef(StrTabSizeBuf.data(), StrTabSizeBuf.size())); - if (const Optional<remarks::StringTable> &StrTab = Serializer.StrTab) { + if (const Optional<remarks::StringTable> &StrTab = RemarkSerializer.StrTab) { std::vector<StringRef> StrTabStrings = StrTab->serialize(); // Emit a list of null-terminated strings. // Note: the order is important here: the ID used in the remarks corresponds |