Index: lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/One/One.h +++ 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 Index: lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py +++ lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/TestConflictingSymbol.py @@ -33,9 +33,9 @@ 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) Index: lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h =================================================================== --- lldb/packages/Python/lldbsuite/test/lang/c/conflicting-symbol/Two/Two.h +++ 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