1 //===- lib/MC/MCLabel.cpp - MCLabel implementation ------------------------===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #include "llvm/MC/MCLabel.h"
11 #include "llvm/Support/Compiler.h"
12 #include "llvm/Support/Debug.h"
13 #include "llvm/Support/raw_ostream.h"
17 void MCLabel::print(raw_ostream &OS) const {
18 OS << '"' << getInstance() << '"';
21 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
22 LLVM_DUMP_METHOD void MCLabel::dump() const {