1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

Add a FIXME.

Thanks to Eric for the suggestion.

llvm-svn: 228300
This commit is contained in:
Rafael Espindola 2015-02-05 14:57:47 +00:00
parent 01cfd01365
commit 3a2b41f231

View File

@ -181,6 +181,9 @@ getELFSectionFlags(SectionKind K, bool InCOMDAT) {
if (K.isThreadLocal())
Flags |= ELF::SHF_TLS;
// FIXME: There is nothing in ELF preventing an SHF_MERGE from being
// in a comdat. We just avoid it for now because we don't print
// those .sections correctly.
if (!InCOMDAT && (K.isMergeableCString() || K.isMergeableConst()))
Flags |= ELF::SHF_MERGE;