ExportedFuncs.cpp 561 B

123456789101112131415
  1. //===- llvm/unittest/Support/DynamicLibrary/ExportedFuncs.cpp -------------===//
  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 "PipSqueak.h"
  9. #ifndef PIPSQUEAK_TESTA_RETURN
  10. #define PIPSQUEAK_TESTA_RETURN "ProcessCall"
  11. #endif
  12. extern "C" PIPSQUEAK_EXPORT const char *TestA() { return PIPSQUEAK_TESTA_RETURN; }