llvm-project/lldb/source/Plugins/SymbolFile
Alexander Shaposhnikov a08ba42f1a [lldb] Update the check for Linux or FreeBSD in SymbolFileDWARF::FindFunctions
This diff
1. Adds a comment to ObjectFileELF.cpp about the current
approach to determining the OS.
2. Replaces the check in SymbolFileDWARF.cpp with a more robust one.

Test plan:
Built (on Linux) a test binary linked to a c++ shared library
which contains just an implementation of a function TestFunction,
the library (the binary itself) doesn't contain ELF notes 
and EI_OSABI is set to System V.
Checked in lldb that now "p TestFunction()" works fine 
(and doesn't work without this patch).

Differential revision: https://reviews.llvm.org/D27380

llvm-svn: 288687
2016-12-05 18:42:21 +00:00
..
DWARF [lldb] Update the check for Linux or FreeBSD in SymbolFileDWARF::FindFunctions 2016-12-05 18:42:21 +00:00
PDB Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
Symtab *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
CMakeLists.txt Add support for reading line tables from PDB files. 2016-03-02 22:05:52 +00:00