forked from OSchip/llvm-project
Implement getSectionPrefixForUniqueGlobal to return null, indicating that
darwin does it's own unique and special and wonderful thing. llvm-svn: 76952
This commit is contained in:
parent
c21c02aacd
commit
febe552dbd
|
@ -42,6 +42,12 @@ namespace llvm {
|
|||
virtual const Section *
|
||||
getSectionForMergableConstant(uint64_t Size, unsigned ReloInfo) const;
|
||||
|
||||
virtual const char *
|
||||
getSectionPrefixForUniqueGlobal(SectionKind::Kind Kind) const {
|
||||
// Darwin doesn't use uniqued sections for weak symbols.
|
||||
return 0;
|
||||
}
|
||||
|
||||
private:
|
||||
const Section* MergeableStringSection(const GlobalVariable *GV) const;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue