blob: ecb9e48ae1533b95da9097cc63052ecb864c0dfd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
//
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
#ifdef FEATURE_PAL
#include <clrdata.h>
//
// This dummy reference to CLRDataCreateInstance prevents the LLVM toolchain from optimizing this important export out.
//
void
DummyReferenceToExportedAPI()
#ifdef __llvm__
__attribute__((used))
#endif // __llvm__
{
CLRDataCreateInstance(IID_ICLRDataTarget, NULL, NULL);
}
#endif // FEATURE_PAL
|