1*700637cbSDimitry Andric //===- Sections.h ------------------------------------------*- C++ -*-===// 2*700637cbSDimitry Andric // 3*700637cbSDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4*700637cbSDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5*700637cbSDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6*700637cbSDimitry Andric // 7*700637cbSDimitry Andric //===----------------------------------------------------------------------===// 8*700637cbSDimitry Andric 9*700637cbSDimitry Andric #ifndef LLD_MACHO_SECTIONS_H 10*700637cbSDimitry Andric #define LLD_MACHO_SECTIONS_H 11*700637cbSDimitry Andric 12*700637cbSDimitry Andric #include "llvm/ADT/StringRef.h" 13*700637cbSDimitry Andric 14*700637cbSDimitry Andric namespace lld::macho::sections { 15*700637cbSDimitry Andric bool isCodeSection(llvm::StringRef name, llvm::StringRef segName, 16*700637cbSDimitry Andric uint32_t flags); 17*700637cbSDimitry Andric } // namespace lld::macho::sections 18*700637cbSDimitry Andric 19*700637cbSDimitry Andric #endif // #ifndef LLD_MACHO_SECTIONS_H 20