mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 06:06:32 +00:00
End the line if we return early. Radar 9012638.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126141 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8b8b4af404
commit
37c79c5942
@ -108,9 +108,11 @@ void MCSectionMachO::PrintSwitchToSection(const MCAsmInfo &MAI,
|
||||
if (SectionTypeDescriptors[SectionType].AssemblerName) {
|
||||
OS << ',';
|
||||
OS << SectionTypeDescriptors[SectionType].AssemblerName;
|
||||
} else
|
||||
} else {
|
||||
// If we have no name for the attribute, stop here.
|
||||
OS << '\n';
|
||||
return;
|
||||
}
|
||||
|
||||
// If we don't have any attributes, we're done.
|
||||
unsigned SectionAttrs = TAA & MCSectionMachO::SECTION_ATTRIBUTES;
|
||||
|
Loading…
Reference in New Issue
Block a user