llvm-project/lldb/source/Plugins/ObjectFile
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
..
ELF [lldb] Update the check for Linux or FreeBSD in SymbolFileDWARF::FindFunctions 2016-12-05 18:42:21 +00:00
JIT *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
Mach-O Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
PECOFF [lldb] Read modules from memory when a local copy is not available 2016-10-17 20:28:19 +00:00
CMakeLists.txt Make cmake build the new ObjectFileJIT. 2014-03-24 23:11:37 +00:00