summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/DebugInfo
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2018-03-29 23:32:54 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2018-03-29 23:32:54 +0000
commit4b4d85fd4d843b94c7aeb99ba45c3c1d40b5cf5e (patch)
tree1e7e1f3176aabd6cd9d155674f44ed78b106e631 /llvm/unittests/DebugInfo
parent4653b0021e94a7f945eb0e86501ffb114d372fcf (diff)
downloadbcm5719-llvm-4b4d85fd4d843b94c7aeb99ba45c3c1d40b5cf5e.tar.gz
bcm5719-llvm-4b4d85fd4d843b94c7aeb99ba45c3c1d40b5cf5e.zip
Style update. NFC.
Rename 3 functions to start with lowercase letters. Don't repeat the name in the comments. llvm-svn: 328848
Diffstat (limited to 'llvm/unittests/DebugInfo')
-rw-r--r--llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
index 092591aad98..72f417e0a9b 100644
--- a/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
+++ b/llvm/unittests/DebugInfo/DWARF/DwarfGenerator.cpp
@@ -231,15 +231,15 @@ StringRef dwarfgen::Generator::generate() {
auto Length = CU->getLength();
MC->setDwarfVersion(Version);
assert(Length != -1U);
- Asm->EmitInt32(Length);
- Asm->EmitInt16(Version);
+ Asm->emitInt32(Length);
+ Asm->emitInt16(Version);
if (Version <= 4) {
- Asm->EmitInt32(0);
- Asm->EmitInt8(CU->getAddressSize());
+ Asm->emitInt32(0);
+ Asm->emitInt8(CU->getAddressSize());
} else {
- Asm->EmitInt8(dwarf::DW_UT_compile);
- Asm->EmitInt8(CU->getAddressSize());
- Asm->EmitInt32(0);
+ Asm->emitInt8(dwarf::DW_UT_compile);
+ Asm->emitInt8(CU->getAddressSize());
+ Asm->emitInt32(0);
}
Asm->emitDwarfDIE(*CU->getUnitDIE().Die);
}
OpenPOWER on IntegriCloud