Use a comma after the unique keyword.

H.J. Lu noted that all .section options are separated by a comma.

This patch changes the syntax of unique to require one.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@234174 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola
2015-04-06 16:34:41 +00:00
parent 28827bea16
commit 6ba6e554c7
8 changed files with 18 additions and 10 deletions

View File

@@ -149,7 +149,7 @@ void MCSectionELF::PrintSwitchToSection(const MCAsmInfo &MAI,
}
if (isUnique())
OS << ",unique " << UniqueID;
OS << ",unique," << UniqueID;
OS << '\n';