1// Licensed to the .NET Foundation under one or more agreements.
2// The .NET Foundation licenses this file to you under the MIT license.
3// See the LICENSE file in the project root for more information.
4
5#ifdef FEATURE_PAL
6
7#include <clrdata.h>
8
9//
10// This dummy reference to CLRDataCreateInstance prevents the LLVM toolchain from optimizing this important export out.
11//
12#ifdef __llvm__
13__attribute__((used))
14#endif // __llvm__
15void
16DummyReferenceToExportedAPI()
17{
18 CLRDataCreateInstance(IID_ICLRDataTarget, NULL, NULL);
19}
20
21#endif // FEATURE_PAL
22