]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - contrib/llvm/include/llvm/DebugInfo/CodeView/EnumTables.h
Merge OpenBSM 1.2-alpha5 from vendor branch to FreeBSD -CURRENT:
[FreeBSD/FreeBSD.git] / contrib / llvm / include / llvm / DebugInfo / CodeView / EnumTables.h
1 //===- EnumTables.h Enum to string conversion tables ------------*- C++ -*-===//
2 //
3 //                     The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9
10 #ifndef LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
11 #define LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
12
13 #include "llvm/ADT/ArrayRef.h"
14 #include "llvm/DebugInfo/CodeView/CodeView.h"
15 #include "llvm/Support/COFF.h"
16 #include "llvm/Support/ScopedPrinter.h"
17
18 #include <stdint.h>
19
20 namespace llvm {
21 namespace codeview {
22 ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames();
23 ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
24 ArrayRef<EnumEntry<uint16_t>> getRegisterNames();
25 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
26 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames();
27 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames();
28 ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames();
29 ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames();
30 ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames();
31 ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames();
32 ArrayRef<EnumEntry<unsigned>> getCPUTypeNames();
33 ArrayRef<EnumEntry<uint32_t>> getFrameProcSymFlagNames();
34 ArrayRef<EnumEntry<uint16_t>> getExportSymFlagNames();
35 ArrayRef<EnumEntry<uint32_t>> getModuleSubstreamKindNames();
36 ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames();
37 ArrayRef<EnumEntry<uint16_t>> getTrampolineNames();
38 ArrayRef<EnumEntry<COFF::SectionCharacteristics>>
39 getImageSectionCharacteristicNames();
40 } // namespace codeview
41 } // namespace llvm
42
43 #endif // LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H