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();
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();
_______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits