File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
llvm/include/llvm/Support Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 171
171
// / for both functions and classes. On windows its turned in to dllimport for
172
172
// / library consumers, for other platforms its a default visibility attribute.
173
173
// /
174
+ // / LLVM_ABI_FOR_TEST is for annotating symbols that are only exported because
175
+ // / they are imported from a test. These symbols are not technically part of the
176
+ // / LLVM public interface and could be conditionally excluded when not building
177
+ // / tests in the future.
178
+ // /
174
179
#ifndef LLVM_ABI_GENERATING_ANNOTATIONS
175
180
// Marker to add to classes or functions in public headers that should not have
176
181
// export macros added to them by the clang tool
210
215
#define LLVM_EXPORT_TEMPLATE
211
216
#define LLVM_ABI_EXPORT
212
217
#endif
218
+ #define LLVM_ABI_FOR_TEST LLVM_ABI
213
219
#endif
214
220
215
221
#if defined(__GNUC__)
You can’t perform that action at this time.
0 commit comments