diff options
author | Paul Lietar <paul@lietar.net> | 2020-11-11 11:46:04 +0000 |
---|---|---|
committer | Renato Golin <rengolin@microsoft.com> | 2020-11-11 14:11:16 +0000 |
commit | 6fd9e59e1b3ac15430eccd4011e063605f58039c (patch) | |
tree | b0fec21cf4125c2e480117e619a94dab9bb6e6db /llvm/lib/Object/MachOObjectFile.cpp | |
parent | b304025acf79cc0db467af0e306aa2af932bd970 (diff) | |
download | llvm-6fd9e59e1b3ac15430eccd4011e063605f58039c.zip llvm-6fd9e59e1b3ac15430eccd4011e063605f58039c.tar.gz llvm-6fd9e59e1b3ac15430eccd4011e063605f58039c.tar.bz2 |
[mlir] Fix exports in mlir_async_runtime
The MLIR_ASYNCRUNTIME_EXPORT macro was being defined to be either
__declspec(dllexport) or __declspec(dllimport), depending on whether
mlir_c_runner_utils_EXPORTS is defined. The latter was a copy/paste
error and should have been mlir_async_runtime_EXPORTS.
Additionally, the uses of that macro in the .cpp file were unnecessary,
as only function declarations need to be exported, not their definitions.
Differential Revision: https://reviews.llvm.org/D91196
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions