diff options
| author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-05-07 13:55:51 +0000 |
|---|---|---|
| committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2009-05-07 13:55:51 +0000 |
| commit | 58f38113007cb729622ba6b960e3f1aab6ed3a4c (patch) | |
| tree | fd2ab52209ec1325bf081db290d75b15f33a44d0 /llvm/include | |
| parent | ae1e53c87b6f267a3bde0044602fe39331d13b52 (diff) | |
| download | bcm5719-llvm-58f38113007cb729622ba6b960e3f1aab6ed3a4c.tar.gz bcm5719-llvm-58f38113007cb729622ba6b960e3f1aab6ed3a4c.zip | |
Move the tablegen-produced DebugLoc handling into a AsmWriter::processDebugLoc function.
No functionality change.
llvm-svn: 71156
Diffstat (limited to 'llvm/include')
| -rw-r--r-- | llvm/include/llvm/CodeGen/AsmPrinter.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 89ea72fca3f..a004632c7dd 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/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. |

