Print out direct global references

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4906 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-12-04 06:44:41 +00:00
parent 64ccc73593
commit b72d221d61

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> ";
}
};
}