Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.50 -> 1.51 --- Log message: move getSectionForFunction to AsmPrinter. --- Diffs of the changes: (+6 -0) AsmPrinter.h | 6 ++++++ 1 files changed, 6 insertions(+) Index: llvm/include/llvm/CodeGen/AsmPrinter.h diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.50 llvm/include/llvm/CodeGen/AsmPrinter.h:1.51 --- llvm/include/llvm/CodeGen/AsmPrinter.h:1.50 Tue Sep 26 18:59:50 2006 +++ llvm/include/llvm/CodeGen/AsmPrinter.h Wed Oct 4 21:41:43 2006 @@ -132,6 +132,12 @@ 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); _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits