Print out direct global references

llvm-svn: 4906
This commit is contained in:
Chris Lattner 2002-12-04 06:44:41 +00:00
parent 418b77ef4b
commit 57f055f2f2
1 changed files with 4 additions and 1 deletions

View File

@ -26,7 +26,10 @@ namespace {
std::cout << "0x" << std::hex << (unsigned int)B << std::dec << " ";
}
void emitPCRelativeDisp(Value *V) {
std::cout << "<" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> ";
std::cout << "<disp %" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> ";
}
void emitGlobalAddress(GlobalValue *V) {
std::cout << "<addr %" << V->getName() << ": 0xXX 0xXX 0xXX 0xXX> ";
}
};
}