aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:13:07 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2008-09-24 22:13:07 +0000
commitcf87a3dd015c7e2acfc0b4feff48fc7fc2a16f01 (patch)
tree0aacd521a19fe87f388f011eb142062be86c78e3 /include
parent801e0fd4ead5fe89dc7ced7f7d6c4278a607f580 (diff)
downloadexternal_llvm-cf87a3dd015c7e2acfc0b4feff48fc7fc2a16f01.zip
external_llvm-cf87a3dd015c7e2acfc0b4feff48fc7fc2a16f01.tar.gz
external_llvm-cf87a3dd015c7e2acfc0b4feff48fc7fc2a16f01.tar.bz2
Drop obsolete hook and change all usage to new interface
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56572 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 45ea5d8..931e31a 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -184,12 +184,6 @@ namespace llvm {
unsigned AsmVariant,
const char *ExtraCode);
- /// 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 std::string getSectionForFunction(const Function &F) const;
-
/// SetupMachineFunction - This should be called when a new MachineFunction
/// is being processed from runOnMachineFunction.
void SetupMachineFunction(MachineFunction &MF);