forked from OSchip/llvm-project
[ObjectYAML][DWARF] Format codes. NFC.
This commit is contained in:
parent
e504a23b63
commit
17326ebbd6
|
@ -209,11 +209,11 @@ protected:
|
|||
void onStartCompileUnit(const DWARFYAML::Unit &CU) override {
|
||||
writeInitialLength(CU.Length, OS, DebugInfo.IsLittleEndian);
|
||||
writeInteger((uint16_t)CU.Version, OS, DebugInfo.IsLittleEndian);
|
||||
if(CU.Version >= 5) {
|
||||
if (CU.Version >= 5) {
|
||||
writeInteger((uint8_t)CU.Type, OS, DebugInfo.IsLittleEndian);
|
||||
writeInteger((uint8_t)CU.AddrSize, OS, DebugInfo.IsLittleEndian);
|
||||
writeInteger((uint32_t)CU.AbbrOffset, OS, DebugInfo.IsLittleEndian);
|
||||
}else {
|
||||
} else {
|
||||
writeInteger((uint32_t)CU.AbbrOffset, OS, DebugInfo.IsLittleEndian);
|
||||
writeInteger((uint8_t)CU.AddrSize, OS, DebugInfo.IsLittleEndian);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue