mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
Minor style cleanup, no functionality change.
llvm-svn: 142307
This commit is contained in:
parent
4370882b22
commit
d8f16be86a
@ -481,7 +481,7 @@ CompileUnit *DwarfDebug::constructCompileUnit(const MDNode *N) {
|
||||
NewCU->addUInt(Die, dwarf::DW_AT_entry_pc, dwarf::DW_FORM_addr, 0);
|
||||
// DW_AT_stmt_list is a offset of line number information for this
|
||||
// compile unit in debug_line section.
|
||||
if(Asm->MAI->doesDwarfRequireRelocationForSectionOffset())
|
||||
if (Asm->MAI->doesDwarfRequireRelocationForSectionOffset())
|
||||
NewCU->addLabel(Die, dwarf::DW_AT_stmt_list, dwarf::DW_FORM_data4,
|
||||
Asm->GetTempSymbol("section_line"));
|
||||
else
|
||||
@ -497,8 +497,7 @@ CompileUnit *DwarfDebug::constructCompileUnit(const MDNode *N) {
|
||||
NewCU->addString(Die, dwarf::DW_AT_APPLE_flags, dwarf::DW_FORM_string,
|
||||
Flags);
|
||||
|
||||
unsigned RVer = DIUnit.getRunTimeVersion();
|
||||
if (RVer)
|
||||
if (unsigned RVer = DIUnit.getRunTimeVersion())
|
||||
NewCU->addUInt(Die, dwarf::DW_AT_APPLE_major_runtime_vers,
|
||||
dwarf::DW_FORM_data1, RVer);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user