2010-05-27 15:15:58 +00:00
|
|
|
//===- lib/MC/MCLabel.cpp - MCLabel implementation ----------------------===//
|
|
|
|
//
|
|
|
|
// The LLVM Compiler Infrastructure
|
|
|
|
//
|
|
|
|
// This file is distributed under the University of Illinois Open Source
|
|
|
|
// License. See LICENSE.TXT for details.
|
|
|
|
//
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
|
|
|
|
#include "llvm/MC/MCLabel.h"
|
|
|
|
#include "llvm/Support/Debug.h"
|
|
|
|
#include "llvm/Support/raw_ostream.h"
|
|
|
|
using namespace llvm;
|
|
|
|
|
|
|
|
void MCLabel::print(raw_ostream &OS) const {
|
|
|
|
OS << '"' << getInstance() << '"';
|
|
|
|
}
|
|
|
|
|
2016-07-23 20:41:05 +00:00
|
|
|
LLVM_DUMP_METHOD void MCLabel::dump() const {
|
2010-05-27 15:15:58 +00:00
|
|
|
print(dbgs());
|
|
|
|
}
|