mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-25 05:22:04 +00:00
Move more to raw_ostream.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76964 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -17,15 +17,16 @@
|
||||
#include "llvm/ValueSymbolTable.h"
|
||||
#include "llvm/ADT/SmallString.h"
|
||||
#include "llvm/Support/Debug.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
||||
|
||||
// Class destructor
|
||||
ValueSymbolTable::~ValueSymbolTable() {
|
||||
#ifndef NDEBUG // Only do this in -g mode...
|
||||
for (iterator VI = vmap.begin(), VE = vmap.end(); VI != VE; ++VI)
|
||||
cerr << "Value still in symbol table! Type = '"
|
||||
<< VI->getValue()->getType()->getDescription() << "' Name = '"
|
||||
<< VI->getKeyData() << "'\n";
|
||||
errs() << "Value still in symbol table! Type = '"
|
||||
<< VI->getValue()->getType()->getDescription() << "' Name = '"
|
||||
<< VI->getKeyData() << "'\n";
|
||||
assert(vmap.empty() && "Values remain in symbol table!");
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user