1 //===- MCDirectives.h - Enums for directives on various targets -*- C++ -*-===//
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 // This file defines various enums that represent target-specific directives.
12 //===----------------------------------------------------------------------===//
14 #ifndef LLVM_MC_MCDIRECTIVES_H
15 #define LLVM_MC_MCDIRECTIVES_H
20 MCSA_Invalid = 0, /// Not a valid directive.
22 // Various directives in alphabetical order.
23 MCSA_Global, /// .globl
24 MCSA_Hidden, /// .hidden (ELF)
25 MCSA_IndirectSymbol, /// .indirect_symbol (MachO)
26 MCSA_Internal, /// .internal (ELF)
27 MCSA_LazyReference, /// .lazy_reference (MachO)
28 MCSA_Local, /// .local (ELF)
29 MCSA_NoDeadStrip, /// .no_dead_strip (MachO)
30 MCSA_PrivateExtern, /// .private_extern (MachO)
31 MCSA_Protected, /// .protected (ELF)
32 MCSA_Reference, /// .reference (MachO)
34 MCSA_WeakDefinition, /// .weak_definition (MachO)
35 MCSA_WeakReference /// .weak_reference (MachO)
38 enum MCAssemblerFlag {
39 MCAF_SubsectionsViaSymbols /// .subsections_via_symbols (MachO)
42 } // end namespace llvm