summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python
diff options
context:
space:
mode:
authorAdrian McCarthy <amccarth@google.com>2018-02-22 22:47:47 +0000
committerAdrian McCarthy <amccarth@google.com>2018-02-22 22:47:47 +0000
commit7de450033b62cec4c2eb6037bfc6655db8a3c144 (patch)
treeaae4d983eb07073056219bdef964205fd921817c /lldb/packages/Python
parent3db5d7e1241d9d7f92ffd4661be1afd9ca8b90a1 (diff)
downloadbcm5719-llvm-7de450033b62cec4c2eb6037bfc6655db8a3c144.tar.gz
bcm5719-llvm-7de450033b62cec4c2eb6037bfc6655db8a3c144.zip
Fix TestMoveNearest on Windows
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. Differential Revision: https://reviews.llvm.org/D43600 llvm-svn: 325836
Diffstat (limited to 'lldb/packages/Python')
-rw-r--r--lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h b/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h
index 060b91f5a5e..9f0e56dd22e 100644
--- a/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/move_nearest/foo.h
+++ b/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();
OpenPOWER on IntegriCloud