diff options
author | Fangrui Song <maskray@google.com> | 2020-02-14 18:16:24 -0800 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2020-02-14 19:11:53 -0800 |
commit | a55daa146166353236aa528546397226bee9363b (patch) | |
tree | 1ff7cbad9b4bfbc19bde788104e704419b664ea2 /llvm/lib/MC/MCCodeView.cpp | |
parent | ead0b76382a5a20e8164583d86900de5b3fa9288 (diff) | |
download | llvm-a55daa146166353236aa528546397226bee9363b.zip llvm-a55daa146166353236aa528546397226bee9363b.tar.gz llvm-a55daa146166353236aa528546397226bee9363b.tar.bz2 |
[MC] De-capitalize some MCStreamer::Emit* functions
Diffstat (limited to 'llvm/lib/MC/MCCodeView.cpp')
-rw-r--r-- | llvm/lib/MC/MCCodeView.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/MC/MCCodeView.cpp b/llvm/lib/MC/MCCodeView.cpp index 1a71b54..319259e 100644 --- a/llvm/lib/MC/MCCodeView.cpp +++ b/llvm/lib/MC/MCCodeView.cpp @@ -209,7 +209,7 @@ void CodeViewContext::emitFileChecksums(MCObjectStreamer &OS) { // user-provided file number. Each entry may be a variable number of bytes // determined by the checksum kind and size. for (auto File : Files) { - OS.EmitAssignment(File.ChecksumTableOffset, + OS.emitAssignment(File.ChecksumTableOffset, MCConstantExpr::create(CurrentOffset, Ctx)); CurrentOffset += 4; // String table offset. if (!File.ChecksumKind) { @@ -231,7 +231,7 @@ void CodeViewContext::emitFileChecksums(MCObjectStreamer &OS) { } OS.EmitIntValue(static_cast<uint8_t>(File.Checksum.size()), 1); OS.EmitIntValue(File.ChecksumKind, 1); - OS.EmitBytes(toStringRef(File.Checksum)); + OS.emitBytes(toStringRef(File.Checksum)); OS.EmitValueToAlignment(4); } |