summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h2
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py4
-rw-r--r--lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h
index b59f5ad13f2..aae27571bb9 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h
@@ -1,4 +1,4 @@
#ifndef ONE_H
#define ONE_H
-void one();
+LLDB_TEST_API void one();
#endif
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py
index 0fbf6725695..67bd71b34c3 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py
@@ -33,9 +33,9 @@ class TestConflictingSymbols(TestBase):
target, ['One', 'Two'])
lldbutil.run_break_set_by_source_regexp(self, '// break here',
- extra_options='-f One.c')
+ extra_options='-f One.c', num_expected_locations=-2)
lldbutil.run_break_set_by_source_regexp(self, '// break here',
- extra_options='-f Two.c')
+ extra_options='-f Two.c', num_expected_locations=-2)
lldbutil.run_break_set_by_source_regexp(self, '// break here',
extra_options='-f main.c', num_expected_locations=1)
diff --git a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h
index 8d5bd6a3233..450fe5a3551 100644
--- a/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h
+++ b/lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h
@@ -1,4 +1,4 @@
#ifndef TWO_H
#define TWO_H
-void two();
+LLDB_TEST_API void two();
#endif
OpenPOWER on IntegriCloud