summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/TargetAsmInfo.cpp
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-07-09 13:19:08 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-07-09 13:19:08 +0000
commit768019879806690d3bd5629189d2035e5877af1a (patch)
treecf3890919f076ffd04dc90c9489505cc70f84a93 /llvm/lib/Target/TargetAsmInfo.cpp
parent3ee57868a5e5402c4435896d4b3b0f96a8dd5920 (diff)
downloadbcm5719-llvm-768019879806690d3bd5629189d2035e5877af1a.tar.gz
bcm5719-llvm-768019879806690d3bd5629189d2035e5877af1a.zip
Provide skeletone code for calculation of section, where global should be emitted into
llvm-svn: 53295
Diffstat (limited to 'llvm/lib/Target/TargetAsmInfo.cpp')
-rw-r--r--llvm/lib/Target/TargetAsmInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/TargetAsmInfo.cpp b/llvm/lib/Target/TargetAsmInfo.cpp
index 433330c146e..923cac6640c 100644
--- a/llvm/lib/Target/TargetAsmInfo.cpp
+++ b/llvm/lib/Target/TargetAsmInfo.cpp
@@ -255,7 +255,7 @@ TargetAsmInfo::SectionFlagsForGlobal(const GlobalValue *GV,
return flags;
}
-const char*
+std::string
TargetAsmInfo::SectionForGlobal(const GlobalValue *GV) const {
SectionKind::Kind kind = SectionKindForGlobal(GV);
OpenPOWER on IntegriCloud