From 7c7aba6e5fef47a01a136be655b0a92cfd7090f6 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 16 Jun 2017 21:03:24 +0000 Subject: Vendor import of llvm trunk r305575: https://llvm.org/svn/llvm-project/llvm/trunk@305575 --- unittests/Support/DynamicLibrary/PipSqueak.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'unittests/Support/DynamicLibrary/PipSqueak.cxx') diff --git a/unittests/Support/DynamicLibrary/PipSqueak.cxx b/unittests/Support/DynamicLibrary/PipSqueak.cxx index 79cf59255a4f0..375d72c0b535f 100644 --- a/unittests/Support/DynamicLibrary/PipSqueak.cxx +++ b/unittests/Support/DynamicLibrary/PipSqueak.cxx @@ -45,4 +45,5 @@ extern "C" PIPSQUEAK_EXPORT void TestOrder(std::vector &V) { Glb.Vec = &V; } -extern "C" PIPSQUEAK_EXPORT const char *TestA() { return "LibCall"; } +#define PIPSQUEAK_TESTA_RETURN "LibCall" +#include "ExportedFuncs.cxx" -- cgit v1.2.3