You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
674 B
24 lines
674 B
3 years ago
|
//===- 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_ks;
|
||
|
|
||
|
void MCLabel::print(raw_ostream &OS) const {
|
||
|
OS << '"' << getInstance() << '"';
|
||
|
}
|
||
|
|
||
|
#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
|
||
|
LLVM_DUMP_METHOD void MCLabel::dump() const {
|
||
|
// print(dbgs());
|
||
|
}
|
||
|
#endif
|