From eb11fae6d08f479c0799db45860a98af528fa6e7 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Sat, 28 Jul 2018 10:51:19 +0000 Subject: Vendor import of llvm trunk r338150: https://llvm.org/svn/llvm-project/llvm/trunk@338150 --- unittests/Support/DynamicLibrary/ExportedFuncs.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 unittests/Support/DynamicLibrary/ExportedFuncs.cpp (limited to 'unittests/Support/DynamicLibrary/ExportedFuncs.cpp') diff --git a/unittests/Support/DynamicLibrary/ExportedFuncs.cpp b/unittests/Support/DynamicLibrary/ExportedFuncs.cpp new file mode 100644 index 000000000000..370c8cb471d1 --- /dev/null +++ b/unittests/Support/DynamicLibrary/ExportedFuncs.cpp @@ -0,0 +1,16 @@ +//===- llvm/unittest/Support/DynamicLibrary/ExportedFuncs.cpp -------------===// +// +// The LLVM Compiler Infrastructure +// +// This file is distributed under the University of Illinois Open Source +// License. See LICENSE.TXT for details. +// +//===----------------------------------------------------------------------===// + +#include "PipSqueak.h" + +#ifndef PIPSQUEAK_TESTA_RETURN +#define PIPSQUEAK_TESTA_RETURN "ProcessCall" +#endif + +extern "C" PIPSQUEAK_EXPORT const char *TestA() { return PIPSQUEAK_TESTA_RETURN; } -- cgit v1.2.3