projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c21c02a
)
Implement getSectionPrefixForUniqueGlobal to return null, indicating that
author
Chris Lattner
<sabre@nondot.org>
Fri, 24 Jul 2009 05:02:38 +0000
(
05:02
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Fri, 24 Jul 2009 05:02:38 +0000
(
05:02
+0000)
darwin does it's own unique and special and wonderful thing.
llvm-svn: 76952
llvm/include/llvm/Target/DarwinTargetAsmInfo.h
patch
|
blob
|
history
diff --git
a/llvm/include/llvm/Target/DarwinTargetAsmInfo.h
b/llvm/include/llvm/Target/DarwinTargetAsmInfo.h
index
48f9133
..
082acbf
100644
(file)
--- a/
llvm/include/llvm/Target/DarwinTargetAsmInfo.h
+++ b/
llvm/include/llvm/Target/DarwinTargetAsmInfo.h
@@
-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;
};