Path: blob/main/contrib/llvm-project/llvm/lib/MC/MCLabel.cpp
35233 views
//===- lib/MC/MCLabel.cpp - MCLabel implementation ------------------------===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//78#include "llvm/MC/MCLabel.h"9#include "llvm/Config/llvm-config.h"10#include "llvm/Support/Compiler.h"11#include "llvm/Support/Debug.h"12#include "llvm/Support/raw_ostream.h"1314using namespace llvm;1516void MCLabel::print(raw_ostream &OS) const {17OS << '"' << getInstance() << '"';18}1920#if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)21LLVM_DUMP_METHOD void MCLabel::dump() const {22print(dbgs());23}24#endif252627