llvm.org GIT mirror llvm / 203b3e9
If ELF subtargets don't want to support 4/8/16-byte mergable sections, allow them to null out the default section pointers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79078 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 10 years ago
1 changed file(s) with 3 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
577577 }
578578
579579 if (Kind.isMergeableConst()) {
580 if (Kind.isMergeableConst4())
580 if (Kind.isMergeableConst4() && MergeableConst4Section)
581581 return MergeableConst4Section;
582 if (Kind.isMergeableConst8())
582 if (Kind.isMergeableConst8() && MergeableConst8Section)
583583 return MergeableConst8Section;
584 if (Kind.isMergeableConst16())
584 if (Kind.isMergeableConst16() && MergeableConst16Section)
585585 return MergeableConst16Section;
586586 return ReadOnlySection; // .const
587587 }