summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorJim Laskey <jlaskey@mac.com>2006-03-23 18:09:44 +0000
committerJim Laskey <jlaskey@mac.com>2006-03-23 18:09:44 +0000
commitcf0166fbeb9e0ceb1da1bdc408602b30f6f00035 (patch)
tree9210b1af1a0511ed7d09b04ca5730ab9d2084c25 /llvm/lib
parent267d39d12808872d61ae7b9d391ba273980898c1 (diff)
downloadbcm5719-llvm-cf0166fbeb9e0ceb1da1bdc408602b30f6f00035.tar.gz
bcm5719-llvm-cf0166fbeb9e0ceb1da1bdc408602b30f6f00035.zip
Change interface to DwarfWriter.
llvm-svn: 26991
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp8
-rwxr-xr-xllvm/lib/Target/X86/X86ATTAsmPrinter.cpp4
-rw-r--r--llvm/lib/Target/X86/X86AsmPrinter.cpp8
-rwxr-xr-xllvm/lib/Target/X86/X86IntelAsmPrinter.cpp4
4 files changed, 12 insertions, 12 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
index 6fb6e5fd1e3..8b3ae47b4b2 100644
--- a/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
+++ b/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
@@ -507,7 +507,7 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
O << "\n\n";
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
// Print out constants referenced by the function
EmitConstantPool(MF.getConstantPool());
@@ -554,7 +554,7 @@ bool DarwinAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
}
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
// We didn't modify anything.
return false;
@@ -570,7 +570,7 @@ bool DarwinAsmPrinter::doInitialization(Module &M) {
Mang->setUseQuotes(true);
// Emit initial debug information.
- DW.BeginModule(M);
+ DW.BeginModule(&M);
return false;
}
@@ -694,7 +694,7 @@ bool DarwinAsmPrinter::doFinalization(Module &M) {
}
// Emit initial debug information.
- DW.EndModule(M);
+ DW.EndModule();
// Funny Darwin hack: This flag tells the linker that no global symbols
// contain code that falls through to other global symbols (e.g. the obvious
diff --git a/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp b/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
index 9c5a83599d1..5b576b79c91 100755
--- a/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86ATTAsmPrinter.cpp
@@ -37,7 +37,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
if (forDarwin) {
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
}
// Print out constants referenced by the function
@@ -93,7 +93,7 @@ bool X86ATTAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
if (forDarwin) {
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
}
// We didn't modify anything.
diff --git a/llvm/lib/Target/X86/X86AsmPrinter.cpp b/llvm/lib/Target/X86/X86AsmPrinter.cpp
index cf2be9582d2..990951ea7b8 100644
--- a/llvm/lib/Target/X86/X86AsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86AsmPrinter.cpp
@@ -76,7 +76,7 @@ bool X86SharedAsmPrinter::doInitialization(Module &M) {
if (forDarwin) {
// Emit initial debug information.
- DW.BeginModule(M);
+ DW.BeginModule(&M);
}
return AsmPrinter::doInitialization(M);
@@ -191,13 +191,13 @@ bool X86SharedAsmPrinter::doFinalization(Module &M) {
}
// Emit initial debug information.
- DW.EndModule(M);
+ DW.EndModule();
// Funny Darwin hack: This flag tells the linker that no global symbols
// contain code that falls through to other global symbols (e.g. the obvious
// implementation of multiple entry points). If this doesn't occur, the
- // linker can safely perform dead code stripping. Since LLVM never generates
- // code that does this, it is always safe to set.
+ // linker can safely perform dead code stripping. Since LLVM never
+ // generates code that does this, it is always safe to set.
O << "\t.subsections_via_symbols\n";
}
diff --git a/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp b/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
index 2980bfe1c2c..c49f892a5aa 100755
--- a/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
+++ b/llvm/lib/Target/X86/X86IntelAsmPrinter.cpp
@@ -36,7 +36,7 @@ bool X86IntelAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
if (forDarwin) {
// Emit pre-function debug information.
- DW.BeginFunction(MF);
+ DW.BeginFunction(&MF);
}
// Print out constants referenced by the function
@@ -68,7 +68,7 @@ bool X86IntelAsmPrinter::runOnMachineFunction(MachineFunction &MF) {
if (forDarwin) {
// Emit post-function debug information.
- DW.EndFunction(MF);
+ DW.EndFunction();
}
// We didn't modify anything.
OpenPOWER on IntegriCloud