mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Added source file/line correspondence for dwarf (PowerPC only at this point.)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24748 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -18,6 +18,7 @@
|
||||
#ifndef LLVM_CODEGEN_MACHINEFUNCTION_H
|
||||
#define LLVM_CODEGEN_MACHINEFUNCTION_H
|
||||
|
||||
#include "llvm/CodeGen/MachineDebugInfo.h"
|
||||
#include "llvm/CodeGen/MachineBasicBlock.h"
|
||||
#include "llvm/Support/Annotation.h"
|
||||
|
||||
@ -112,6 +113,10 @@ class MachineFunction : private Annotation {
|
||||
/// stored in the second element.
|
||||
std::vector<std::pair<unsigned, unsigned> > LiveIns;
|
||||
std::vector<unsigned> LiveOuts;
|
||||
|
||||
/// DebugInfo - Keep track of debug information for the function.
|
||||
///
|
||||
MachineDebugInfo DebugInfo;
|
||||
|
||||
public:
|
||||
MachineFunction(const Function *Fn, const TargetMachine &TM);
|
||||
@ -212,6 +217,11 @@ public:
|
||||
const MachineBasicBlock *getLastBlock() const {
|
||||
return MBBNumbering.back();
|
||||
}
|
||||
|
||||
/// getDebugInfo - Returns the DebugInfo.
|
||||
MachineDebugInfo &getDebugInfo() {
|
||||
return DebugInfo;
|
||||
}
|
||||
|
||||
/// print - Print out the MachineFunction in a format suitable for debugging
|
||||
/// to the specified stream.
|
||||
|
Reference in New Issue
Block a user