1e8d8bef9SDimitry Andric //===- ObjC.h ---------------------------------------------------*- C++ -*-===// 2e8d8bef9SDimitry Andric // 3e8d8bef9SDimitry Andric // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 4e8d8bef9SDimitry Andric // See https://llvm.org/LICENSE.txt for license information. 5e8d8bef9SDimitry Andric // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 6e8d8bef9SDimitry Andric // 7e8d8bef9SDimitry Andric //===----------------------------------------------------------------------===// 8e8d8bef9SDimitry Andric 9e8d8bef9SDimitry Andric #ifndef LLD_MACHO_OBJC_H 10e8d8bef9SDimitry Andric #define LLD_MACHO_OBJC_H 11e8d8bef9SDimitry Andric 12e8d8bef9SDimitry Andric #include "llvm/Support/MemoryBuffer.h" 13e8d8bef9SDimitry Andric 14*bdd1243dSDimitry Andric namespace lld::macho { 15e8d8bef9SDimitry Andric 16e8d8bef9SDimitry Andric namespace objc { 17e8d8bef9SDimitry Andric 18e8d8bef9SDimitry Andric constexpr const char klass[] = "_OBJC_CLASS_$_"; 19e8d8bef9SDimitry Andric constexpr const char metaclass[] = "_OBJC_METACLASS_$_"; 20e8d8bef9SDimitry Andric constexpr const char ehtype[] = "_OBJC_EHTYPE_$_"; 21e8d8bef9SDimitry Andric constexpr const char ivar[] = "_OBJC_IVAR_$_"; 22e8d8bef9SDimitry Andric 23e8d8bef9SDimitry Andric } // namespace objc 24e8d8bef9SDimitry Andric 25e8d8bef9SDimitry Andric bool hasObjCSection(llvm::MemoryBufferRef); 26e8d8bef9SDimitry Andric 27*bdd1243dSDimitry Andric } // namespace lld::macho 28e8d8bef9SDimitry Andric 29e8d8bef9SDimitry Andric #endif 30