mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-10 06:03:52 +00:00
Add a FIXME.
Thanks to Eric for the suggestion. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228300 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
04688c792c
commit
29b65fa1df
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user