mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-25 13:24:46 +00:00
Add debugging support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -15,7 +15,9 @@
|
||||
#include "llvm/ADT/FoldingSet.h"
|
||||
#include "llvm/GlobalValue.h"
|
||||
#include "llvm/Type.h"
|
||||
#include "llvm/Support/Streams.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
#include <ostream>
|
||||
using namespace llvm;
|
||||
|
||||
ARMConstantPoolValue::ARMConstantPoolValue(GlobalValue *gv, unsigned id,
|
||||
@@ -73,6 +75,15 @@ ARMConstantPoolValue::AddSelectionDAGCSEId(FoldingSetNodeID &ID) {
|
||||
ID.AddInteger(PCAdjust);
|
||||
}
|
||||
|
||||
void ARMConstantPoolValue::dump() const {
|
||||
cerr << " " << *this;
|
||||
}
|
||||
|
||||
void ARMConstantPoolValue::print(std::ostream &O) const {
|
||||
raw_os_ostream RawOS(O);
|
||||
print(RawOS);
|
||||
}
|
||||
|
||||
void ARMConstantPoolValue::print(raw_ostream &O) const {
|
||||
if (GV)
|
||||
O << GV->getName();
|
||||
|
Reference in New Issue
Block a user