OrcRTBridge.cpp 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //===------ OrcRTBridge.cpp - Executor functions for bootstrap -----===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #include "llvm/ExecutionEngine/Orc/Shared/OrcRTBridge.h"
  9. namespace llvm {
  10. namespace orc {
  11. namespace rt {
  12. const char *SimpleExecutorDylibManagerInstanceName =
  13. "__llvm_orc_SimpleExecutorDylibManager_Instance";
  14. const char *SimpleExecutorDylibManagerOpenWrapperName =
  15. "__llvm_orc_SimpleExecutorDylibManager_open_wrapper";
  16. const char *SimpleExecutorDylibManagerLookupWrapperName =
  17. "__llvm_orc_SimpleExecutorDylibManager_lookup_wrapper";
  18. const char *SimpleExecutorMemoryManagerInstanceName =
  19. "__llvm_orc_SimpleExecutorMemoryManager_Instance";
  20. const char *SimpleExecutorMemoryManagerReserveWrapperName =
  21. "__llvm_orc_SimpleExecutorMemoryManager_reserve_wrapper";
  22. const char *SimpleExecutorMemoryManagerFinalizeWrapperName =
  23. "__llvm_orc_SimpleExecutorMemoryManager_finalize_wrapper";
  24. const char *SimpleExecutorMemoryManagerDeallocateWrapperName =
  25. "__llvm_orc_SimpleExecutorMemoryManager_deallocate_wrapper";
  26. const char *ExecutorSharedMemoryMapperServiceInstanceName =
  27. "__llvm_orc_ExecutorSharedMemoryMapperService_Instance";
  28. const char *ExecutorSharedMemoryMapperServiceReserveWrapperName =
  29. "__llvm_orc_ExecutorSharedMemoryMapperService_Reserve";
  30. const char *ExecutorSharedMemoryMapperServiceInitializeWrapperName =
  31. "__llvm_orc_ExecutorSharedMemoryMapperService_Initialize";
  32. const char *ExecutorSharedMemoryMapperServiceDeinitializeWrapperName =
  33. "__llvm_orc_ExecutorSharedMemoryMapperService_Deinitialize";
  34. const char *ExecutorSharedMemoryMapperServiceReleaseWrapperName =
  35. "__llvm_orc_ExecutorSharedMemoryMapperService_Release";
  36. const char *MemoryWriteUInt8sWrapperName =
  37. "__llvm_orc_bootstrap_mem_write_uint8s_wrapper";
  38. const char *MemoryWriteUInt16sWrapperName =
  39. "__llvm_orc_bootstrap_mem_write_uint16s_wrapper";
  40. const char *MemoryWriteUInt32sWrapperName =
  41. "__llvm_orc_bootstrap_mem_write_uint32s_wrapper";
  42. const char *MemoryWriteUInt64sWrapperName =
  43. "__llvm_orc_bootstrap_mem_write_uint64s_wrapper";
  44. const char *MemoryWriteBuffersWrapperName =
  45. "__llvm_orc_bootstrap_mem_write_buffers_wrapper";
  46. const char *RegisterEHFrameSectionWrapperName =
  47. "__llvm_orc_bootstrap_register_ehframe_section_wrapper";
  48. const char *DeregisterEHFrameSectionWrapperName =
  49. "__llvm_orc_bootstrap_deregister_ehframe_section_wrapper";
  50. const char *RunAsMainWrapperName = "__llvm_orc_bootstrap_run_as_main_wrapper";
  51. const char *RunAsVoidFunctionWrapperName =
  52. "__llvm_orc_bootstrap_run_as_void_function_wrapper";
  53. const char *RunAsIntFunctionWrapperName =
  54. "__llvm_orc_bootstrap_run_as_int_function_wrapper";
  55. } // end namespace rt
  56. } // end namespace orc
  57. } // end namespace llvm