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<uint16_t>> getRegisterNames(); 24 ArrayRef<EnumEntry<uint8_t>> getProcSymFlagNames(); 25 ArrayRef<EnumEntry<uint16_t>> getLocalFlagNames(); 26 ArrayRef<EnumEntry<uint8_t>> getFrameCookieKindNames(); 27 ArrayRef<EnumEntry<SourceLanguage>> getSourceLanguageNames(); 28 ArrayRef<EnumEntry<uint32_t>> getCompileSym2FlagNames(); 29 ArrayRef<EnumEntry<uint32_t>> getCompileSym3FlagNames(); 30 ArrayRef<EnumEntry<uint32_t>> getFileChecksumNames(); 31 ArrayRef<EnumEntry<unsigned>> getCPUTypeNames(); 32 ArrayRef<EnumEntry<uint32_t>> getFrameProcSymFlagNames(); 33 ArrayRef<EnumEntry<uint16_t>> getExportSymFlagNames(); 34 ArrayRef<EnumEntry<uint32_t>> getModuleSubstreamKindNames(); 35 ArrayRef<EnumEntry<uint8_t>> getThunkOrdinalNames(); 36 ArrayRef<EnumEntry<uint16_t>> getTrampolineNames(); 37 ArrayRef<EnumEntry<COFF::SectionCharacteristics>> 38 getImageSectionCharacteristicNames(); 39 } // namespace codeview 40 } // namespace llvm 41 42 #endif // LLVM_DEBUGINFO_CODEVIEW_ENUMTABLES_H 43