diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-02-05 14:57:47 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-02-05 14:57:47 +0000 |
commit | f8d662aa4b554ba903be9b19620cf9621fd99525 (patch) | |
tree | 34c4666e37abdfc96fb46da1aef21769931d0a53 | |
parent | 6a814ad142c3b9c714fc7ed5b4c8197b8964ab38 (diff) | |
download | bcm5719-llvm-f8d662aa4b554ba903be9b19620cf9621fd99525.tar.gz bcm5719-llvm-f8d662aa4b554ba903be9b19620cf9621fd99525.zip |
Add a FIXME.
Thanks to Eric for the suggestion.
llvm-svn: 228300
-rw-r--r-- | llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp index 396d9e4fbfa..35860fa1337 100644 --- a/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp +++ b/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp @@ -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; |