mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user