blob: 74f8c7176811deb6a3edebb572f0c1026631dd85 [file] [log] [blame]
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01001//===- EnumTables.h - Enum to string conversion tables ----------*- C++ -*-===//
2//
Andrew Walbran16937d02019-10-22 13:54:20 +01003// 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
Andrew Scull5e1ddfa2018-08-14 10:06:54 +01006//
7//===----------------------------------------------------------------------===//
8
9#ifndef LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
10#define LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H
11
12#include "llvm/ADT/ArrayRef.h"
13#include "llvm/BinaryFormat/COFF.h"
14#include "llvm/DebugInfo/CodeView/CodeView.h"
15#include "llvm/Support/ScopedPrinter.h"
16#include <cstdint>
17
18namespace llvm {
19namespace codeview {
20
21ArrayRef<EnumEntry<SymbolKind>> getSymbolTypeNames();
22ArrayRef<EnumEntry<TypeLeafKind>> getTypeLeafNames();
23ArrayRef<EnumEntry<uint16_t>> getRegisterNames();
24ArrayRef<EnumEntry<uint32_t>> getPublicSymFlagNames();
25ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames();
26ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames();
27ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames();
28ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames();
29ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames();
30ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames();
31ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames();
32ArrayRef<EnumEntry<unsigned>> getCPUTypeNames();
33ArrayRef<EnumEntry<uint32_t>> getFrameProcSymFlagNames();
34ArrayRef<EnumEntry<uint16_t>> getExportSymFlagNames();
35ArrayRef<EnumEntry<uint32_t>> getModuleSubstreamKindNames();
36ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames();
37ArrayRef<EnumEntry<uint16_t>> getTrampolineNames();
38ArrayRef<EnumEntry<COFF::SectionCharacteristics>>
39getImageSectionCharacteristicNames();
40
41} // end namespace codeview
42} // end namespace llvm
43
44#endif // LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H