[llvm-commits] CVS: llvm/include/llvm/CodeGen/AsmPrinter.h
Jeff Cohen
jeffc at jolt-lang.org
Mon May 1 20:12:02 PDT 2006
Changes in directory llvm/include/llvm/CodeGen:
AsmPrinter.h updated: 1.33 -> 1.34
---
Log message:
Finish support for Microsoft ML/MASM. May still be a few rough edges.
---
Diffs of the changes: (+3 -1)
AsmPrinter.h | 4 +++-
1 files changed, 3 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/CodeGen/AsmPrinter.h
diff -u llvm/include/llvm/CodeGen/AsmPrinter.h:1.33 llvm/include/llvm/CodeGen/AsmPrinter.h:1.34
--- llvm/include/llvm/CodeGen/AsmPrinter.h:1.33 Mon May 1 20:16:28 2006
+++ llvm/include/llvm/CodeGen/AsmPrinter.h Mon May 1 22:11:50 2006
@@ -26,10 +26,12 @@
class GlobalVariable;
class AsmPrinter : public MachineFunctionPass {
+ protected:
/// CurrentSection - The current section we are emitting to. This is
/// controlled and used by the SwitchSection method.
std::string CurrentSection;
+ private:
/// FunctionNumber - This provides a unique ID for each function emitted in
/// this translation unit. It is autoincremented by SetupMachineFunction,
/// and can be accessed with getFunctionNumber() and
@@ -185,7 +187,7 @@
/// If the new section is an empty string, this method forgets what the
/// current section is, but does not emit a .section directive.
///
- void SwitchSection(const char *NewSection, const GlobalValue *GV);
+ virtual void SwitchSection(const char *NewSection, const GlobalValue *GV);
/// getPreferredAlignmentLog - Return the preferred alignment of the
/// specified global, returned in log form. This includes an explicitly
More information about the llvm-commits
mailing list