[Lldb-commits] [PATCH] D43600: Fix TestMoveNearest on Windows

Adrian McCarthy via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Feb 21 16:20:47 PST 2018


amccarth created this revision.
amccarth added a reviewer: zturner.
Herald added a subscriber: sanjoy.

The header file for the DLL tried to declare inline functions and a local
function as dllexport which broke the compile and link.  Removing the bad
declarations solves the problem, and the test passes on Windows now.


https://reviews.llvm.org/D43600

Files:
  lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h


Index: lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h
===================================================================
--- lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h
+++ lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h
@@ -1,6 +1,5 @@
-LLDB_TEST_API inline int foo1() { return 1; } // !BR1
+inline int foo1() { return 1; } // !BR1
 
-LLDB_TEST_API inline int foo2() { return 2; } // !BR2
+inline int foo2() { return 2; } // !BR2
 
 LLDB_TEST_API extern int call_foo1();
-LLDB_TEST_API extern int call_foo2();


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43600.135345.patch
Type: text/x-patch
Size: 619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20180222/59be4567/attachment.bin>


More information about the lldb-commits mailing list