From f90680949690d724257b758942cb608f63f4e73c Mon Sep 17 00:00:00 2001 From: Alexander Polyakov Date: Sat, 7 Jul 2018 18:54:44 +0000 Subject: [PATCH] Add LLDB_API to SBAddress's operator==. Summary: Add LLDB_API to SBAddress's operator== to fix lldb-mi build on Windows. Patch by Aleksandr Urakov! Differential Revision: https://reviews.llvm.org/D49006 llvm-svn: 336494 --- lldb/include/lldb/API/SBAddress.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/include/lldb/API/SBAddress.h b/lldb/include/lldb/API/SBAddress.h index fcf036c2b4b0..02e847b97aa1 100644 --- a/lldb/include/lldb/API/SBAddress.h +++ b/lldb/include/lldb/API/SBAddress.h @@ -101,7 +101,7 @@ protected: const lldb_private::Address *operator->() const; - friend bool operator==(const SBAddress &lhs, const SBAddress &rhs); + friend bool LLDB_API operator==(const SBAddress &lhs, const SBAddress &rhs); lldb_private::Address *get(); @@ -117,7 +117,7 @@ private: std::unique_ptr m_opaque_ap; }; -bool operator==(const SBAddress &lhs, const SBAddress &rhs); +bool LLDB_API operator==(const SBAddress &lhs, const SBAddress &rhs); } // namespace lldb