1 //===- MCSymbolXCOFF.h - ----------------------------------------*- C++ -*-===//
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
8 #ifndef LLVM_MC_MCSYMBOLXCOFF_H
9 #define LLVM_MC_MCSYMBOLXCOFF_H
11 #include "llvm/BinaryFormat/XCOFF.h"
12 #include "llvm/MC/MCSymbol.h"
16 class MCSymbolXCOFF : public MCSymbol {
18 MCSymbolXCOFF(const StringMapEntry<bool> *Name, bool isTemporary)
19 : MCSymbol(SymbolKindXCOFF, Name, isTemporary) {}
21 static bool classof(const MCSymbol *S) { return S->isXCOFF(); }
24 } // end namespace llvm
26 #endif // LLVM_MC_MCSYMBOLXCOFF_H