Move getSectionForFunction to AsmPrinter, change it to return a string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30735 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2006-10-05 02:42:20 +00:00
parent 1279b7c2a9
commit 9b7ce7da82
3 changed files with 17 additions and 19 deletions

View File

@@ -23,12 +23,6 @@ namespace llvm {
struct DarwinTargetAsmInfo : public TargetAsmInfo {
DarwinTargetAsmInfo(const PPCTargetMachine &TM);
/// getSectionForFunction - Return the section that we should emit the
/// specified function body into. This defaults to 'TextSection'. This
/// should most likely be overridden by the target to put linkonce/weak
/// functions into special sections.
virtual const char *getSectionForFunction(const Function &F) const;
};
} // namespace llvm