mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-27 15:41:46 +00:00
cf918c809b
It's roughly like -force_load with some filtering. Differential Revision: https://reviews.llvm.org/D86181
32 lines
833 B
C++
32 lines
833 B
C++
//===- 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
|