[llvm-commits] CVS: llvm/lib/CodeGen/AsmPrinter.cpp
Chris Lattner
sabre at nondot.org
Wed Oct 4 19:43:01 PDT 2006
Changes in directory llvm/lib/CodeGen:
AsmPrinter.cpp updated: 1.103 -> 1.104
---
Log message:
move getSectionForFunction to AsmPrinter
---
Diffs of the changes: (+4 -0)
AsmPrinter.cpp | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/lib/CodeGen/AsmPrinter.cpp
diff -u llvm/lib/CodeGen/AsmPrinter.cpp:1.103 llvm/lib/CodeGen/AsmPrinter.cpp:1.104
--- llvm/lib/CodeGen/AsmPrinter.cpp:1.103 Tue Oct 3 18:27:09 2006
+++ llvm/lib/CodeGen/AsmPrinter.cpp Wed Oct 4 21:42:47 2006
@@ -32,6 +32,10 @@
: FunctionNumber(0), O(o), TM(tm), TAI(T)
{}
+std::string AsmPrinter::getSectionForFunction(const Function &F) const {
+ return TAI->getTextSection();
+}
+
/// SwitchToTextSection - Switch to the specified text section of the executable
/// if we are not already in it!
More information about the llvm-commits
mailing list