summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-07 13:55:51 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2009-05-07 13:55:51 +0000
commitcd76240f3d0f6c5f8c80e4762a8fe3a4de22e059 (patch)
treee13fcadd5edcae85c8a5c5a2ec1979b6e01e2f3f /include
parent7132e12ee5658aa2b8ba6cdd81adb7944ddcb33e (diff)
downloadexternal_llvm-cd76240f3d0f6c5f8c80e4762a8fe3a4de22e059.zip
external_llvm-cd76240f3d0f6c5f8c80e4762a8fe3a4de22e059.tar.gz
external_llvm-cd76240f3d0f6c5f8c80e4762a8fe3a4de22e059.tar.bz2
Move the tablegen-produced DebugLoc handling into a AsmWriter::processDebugLoc function.
No functionality change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 89ea72f..a004632 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -18,7 +18,6 @@
#include "llvm/ADT/DenseMap.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
-#include "llvm/Analysis/DebugInfo.h"
#include "llvm/Support/DataTypes.h"
#include "llvm/Target/TargetMachine.h"
#include <set>
@@ -342,6 +341,10 @@ namespace llvm {
void EmitGlobalConstant(const Constant* CV, unsigned AddrSpace = 0);
virtual void EmitMachineConstantPoolValue(MachineConstantPoolValue *MCPV);
+
+ /// processDebugLoc - Processes the debug information of each machine
+ /// instruction's DebugLoc.
+ void processDebugLoc(DebugLoc DL);
/// printInlineAsm - This method formats and prints the specified machine
/// instruction that is an inline asm.