projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8b4af
)
End the line if we return early. Radar 9012638.
author
Stuart Hastings
<stuart@apple.com>
Mon, 21 Feb 2011 21:07:07 +0000
(21:07 +0000)
committer
Stuart Hastings
<stuart@apple.com>
Mon, 21 Feb 2011 21:07:07 +0000
(21:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126141
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/MC/MCSectionMachO.cpp
patch
|
blob
|
history
diff --git
a/lib/MC/MCSectionMachO.cpp
b/lib/MC/MCSectionMachO.cpp
index 2cfecb2d8bee748d8ef5ae6a56854a331835b027..577e93aed6bc6968680e40ed829817a8dff93a81 100644
(file)
--- a/
lib/MC/MCSectionMachO.cpp
+++ b/
lib/MC/MCSectionMachO.cpp
@@
-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;