This patch fixes a bug in SymbolFileDWARF::FindFunctions(), where functions may not be correctly found when appending to a list already containing some symbols.
Upon entering this function, original_size is set to the size of sc_list, however the target code should be executed not when the list is empty but when this list has not grown during this function invocation. This patch corrects this problem.
Running the lldb test suite shows no regressions caused by this change, and fixes Bug 25433.
https://llvm.org/bugs/show_bug.cgi?id=25433