projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
64ccc73
)
Print out direct global references
author
Chris Lattner
<sabre@nondot.org>
Wed, 4 Dec 2002 06:44:41 +0000
(06:44 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 4 Dec 2002 06:44:41 +0000
(06:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4906
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/CodeGen/MachineCodeEmitter.cpp
patch
|
blob
|
history
diff --git
a/lib/CodeGen/MachineCodeEmitter.cpp
b/lib/CodeGen/MachineCodeEmitter.cpp
index e2b4908c74207e7ac0ad05064577ff167d344149..d28fdeebbccfbe7bd99b237ba677e8dd8060cbcc 100644
(file)
--- a/
lib/CodeGen/MachineCodeEmitter.cpp
+++ b/
lib/CodeGen/MachineCodeEmitter.cpp
@@
-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> ";
}
};
}