Mercurial > hg > CbC > CbC_llvm
diff lld/MachO/ObjC.h @ 207:2e18cbf3894f
LLVM12
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 08 Jun 2021 06:07:14 +0900 |
parents | |
children | c4bab56944e8 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lld/MachO/ObjC.h Tue Jun 08 06:07:14 2021 +0900 @@ -0,0 +1,31 @@ +//===- ObjC.h ---------------------------------------------------*- C++ -*-===// +// +// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. +// See https://llvm.org/LICENSE.txt for license information. +// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception +// +//===----------------------------------------------------------------------===// + +#ifndef LLD_MACHO_OBJC_H +#define LLD_MACHO_OBJC_H + +#include "llvm/Support/MemoryBuffer.h" + +namespace lld { +namespace macho { + +namespace objc { + +constexpr const char klass[] = "_OBJC_CLASS_$_"; +constexpr const char metaclass[] = "_OBJC_METACLASS_$_"; +constexpr const char ehtype[] = "_OBJC_EHTYPE_$_"; +constexpr const char ivar[] = "_OBJC_IVAR_$_"; + +} // namespace objc + +bool hasObjCSection(llvm::MemoryBufferRef); + +} // namespace macho +} // namespace lld + +#endif