mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Replace DebugLocTuple with DILocation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93630 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#define LLVM_CODEGEN_ASMPRINTER_H
|
||||
|
||||
#include "llvm/CodeGen/MachineFunctionPass.h"
|
||||
#include "llvm/Analysis/DebugInfo.h"
|
||||
#include "llvm/Support/DebugLoc.h"
|
||||
#include "llvm/Target/TargetMachine.h"
|
||||
#include "llvm/ADT/DenseMap.h"
|
||||
@@ -151,7 +152,7 @@ namespace llvm {
|
||||
mutable unsigned Counter;
|
||||
|
||||
// Private state for processDebugLoc()
|
||||
mutable DebugLocTuple PrevDLT;
|
||||
mutable DILocation PrevDLT;
|
||||
|
||||
protected:
|
||||
explicit AsmPrinter(formatted_raw_ostream &o, TargetMachine &TM,
|
||||
|
@@ -368,8 +368,8 @@ public:
|
||||
// Debug location.
|
||||
//
|
||||
|
||||
/// getDebugLocTuple - Get the DebugLocTuple for a given DebugLoc object.
|
||||
DebugLocTuple getDebugLocTuple(DebugLoc DL) const;
|
||||
/// getDILocation - Get the DILocation for a given DebugLoc object.
|
||||
DILocation getDILocation(DebugLoc DL) const;
|
||||
|
||||
/// getDefaultDebugLoc - Get the default debug location for the machine
|
||||
/// function.
|
||||
|
Reference in New Issue
Block a user