[Lldb-commits] [lldb] r336494 - Add LLDB_API to SBAddress's operator==.

Alexander Polyakov via lldb-commits lldb-commits at lists.llvm.org
Sat Jul 7 11:54:44 PDT 2018


Author: apolyakov
Date: Sat Jul  7 11:54:44 2018
New Revision: 336494

URL: http://llvm.org/viewvc/llvm-project?rev=336494&view=rev
Log:
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

Modified:
    lldb/trunk/include/lldb/API/SBAddress.h

Modified: lldb/trunk/include/lldb/API/SBAddress.h
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/include/lldb/API/SBAddress.h?rev=336494&r1=336493&r2=336494&view=diff
==============================================================================
--- lldb/trunk/include/lldb/API/SBAddress.h (original)
+++ lldb/trunk/include/lldb/API/SBAddress.h Sat Jul  7 11:54:44 2018
@@ -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<lldb_private::Address> m_opaque_ap;
 };
 
-bool operator==(const SBAddress &lhs, const SBAddress &rhs);
+bool LLDB_API operator==(const SBAddress &lhs, const SBAddress &rhs);
 
 } // namespace lldb
 




More information about the lldb-commits mailing list