Look for both .debug and dsym debugging symbol information for stripped executable.
authorRobert Flack <flackr@gmail.com>
Fri, 24 Apr 2015 18:09:54 +0000 (18:09 +0000)
committerRobert Flack <flackr@gmail.com>
Fri, 24 Apr 2015 18:09:54 +0000 (18:09 +0000)
commit31870e15fa3bc1d3b918b0f6fb5013e19cb32ff5
tree433ca3931c5544cc39c8c2d94fbb14ab35c090b8
parentf8aca465123477827082b472ac81c3ca415b2103
Look for both .debug and dsym debugging symbol information for stripped executable.

Currently Symbols::LocateExecutableSymbolFile on MacOSX only looks for external
dsym debugging information, however if running on a stripped dwarf executable it
should also check for a .debug file as well.

Test Plan:
./dotest.py $DOTEST_OPTS -t -p TestSharedLibStrippedSymbols.py
This test now passes when running a remote Mac -> Linux test, and still passes
running locally on Mac or locally on Linux.

Differential Revision: http://reviews.llvm.org/D9174

llvm-svn: 235737
lldb/source/Host/common/Symbols.cpp
lldb/source/Host/macosx/Symbols.cpp