Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/llvm/BinaryFormat/Swift.def is written in an unsupported language. File is not indexed.

0001 //===- llvm/BinaryFormat/Swift.def - Swift definitions ---------*- C++ -*-===//
0002 //
0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0004 // See https://llvm.org/LICENSE.txt for license information.
0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0006 //
0007 //===----------------------------------------------------------------------===//
0008 //
0009 // Macros for running through Swift enumerators.
0010 //
0011 //===----------------------------------------------------------------------===//
0012 
0013 #if !(defined HANDLE_SWIFT_SECTION)
0014 #error "Missing macro definition of HANDLE_SWIFT_SECTION"
0015 #endif
0016 
0017 #ifndef HANDLE_SWIFT_SECTION
0018 #define HANDLE_SWIFT_SECTION(KIND, MACHO, ELF, COFF)
0019 #endif
0020 
0021 // Reflection metadata.
0022 HANDLE_SWIFT_SECTION(fieldmd, "__swift5_fieldmd", "swift5_fieldmd", ".sw5flmd")
0023 HANDLE_SWIFT_SECTION(assocty, "__swift5_assocty", "swift5_assocty", ".sw5asty")
0024 HANDLE_SWIFT_SECTION(builtin, "__swift5_builtin", "swift5_builtin", ".sw5bltn")
0025 HANDLE_SWIFT_SECTION(capture, "__swift5_capture", "swift5_capture", ".sw5cptr")
0026 HANDLE_SWIFT_SECTION(typeref, "__swift5_typeref", "swift5_typeref", ".sw5tyrf")
0027 HANDLE_SWIFT_SECTION(reflstr, "__swift5_reflstr", "swift5_reflstr", ".sw5rfst")
0028 HANDLE_SWIFT_SECTION(conform, "__swift5_proto", "swift5_protocol_conformances",
0029                      ".sw5prtc$B")
0030 HANDLE_SWIFT_SECTION(protocs, "__swift5_protos", "swift5_protocols",
0031                      ".sw5prt$B")
0032 HANDLE_SWIFT_SECTION(acfuncs, "__swift5_acfuncs", "swift5_accessible_functions",
0033                      ".sw5acfn$B")
0034 HANDLE_SWIFT_SECTION(mpenum, "__swift5_mpenum", "swift5_mpenum", ".sw5mpen$B")
0035 
0036 // Debug info.
0037 HANDLE_SWIFT_SECTION(swiftast, "__swift_ast", ".swift_ast", "swiftast")