Add diagnostic output

llvm-svn: 5157
This commit is contained in:
Chris Lattner 2002-12-28 20:00:15 +00:00
parent c864583477
commit 3685f65f1b
1 changed files with 1 additions and 0 deletions

View File

@ -213,6 +213,7 @@ void ExecutionEngine::emitGlobals() {
DEBUG(std::cerr << "Global '" << I->getName() << "' -> " DEBUG(std::cerr << "Global '" << I->getName() << "' -> "
<< (void*)GlobalAddress[I] << "\n"); << (void*)GlobalAddress[I] << "\n");
} else { } else {
std::cerr << "Global: " << I->getName() << "\n";
assert(0 && "References to external globals not handled yet!"); assert(0 && "References to external globals not handled yet!");
} }