llvm-project/lldb/source/Plugins/SymbolFile/DWARF
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
..
CMakeLists.txt Support for OCaml native debugging 2016-08-02 11:15:55 +00:00
DIERef.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DIERef.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParser.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserClang.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
DWARFASTParserClang.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserGo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserGo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserJava.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserJava.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserOCaml.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFASTParserOCaml.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFAbbreviationDeclaration.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFAbbreviationDeclaration.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFAttribute.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFAttribute.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFCompileUnit.cpp Don't allow direct access to StreamString's internal buffer. 2016-11-16 21:15:24 +00:00
DWARFCompileUnit.h Add support for DW_AT_ranges_base attribute 2016-09-15 08:53:33 +00:00
DWARFDIE.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDIE.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDIECollection.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDIECollection.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDataExtractor.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDataExtractor.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugAbbrev.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugAbbrev.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugArangeSet.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugArangeSet.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugAranges.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugAranges.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugInfo.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
DWARFDebugInfo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugInfoEntry.cpp Add support for DW_AT_ranges_base attribute 2016-09-15 08:53:33 +00:00
DWARFDebugInfoEntry.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugLine.cpp Change Module::RemapPath to use StringRef. 2016-09-23 18:42:38 +00:00
DWARFDebugLine.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugMacinfo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugMacinfo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugMacinfoEntry.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugMacinfoEntry.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugMacro.cpp Rename DWARF 5 constants to adapt to change in LLVM 2016-10-28 18:14:43 +00:00
DWARFDebugMacro.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugPubnames.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugPubnames.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugPubnamesSet.cpp Fix Clang-tidy readability-redundant-string-cstr warnings 2016-11-02 20:34:10 +00:00
DWARFDebugPubnamesSet.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDebugRanges.cpp Add support for DW_AT_ranges_base attribute 2016-09-15 08:53:33 +00:00
DWARFDebugRanges.h Add support for DW_AT_ranges_base attribute 2016-09-15 08:53:33 +00:00
DWARFDeclContext.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDeclContext.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFDefines.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
DWARFDefines.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFFormValue.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
DWARFFormValue.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
HashedNameToDIE.cpp Make lldb::Regex use StringRef. 2016-09-21 16:01:28 +00:00
HashedNameToDIE.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
LogChannelDWARF.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
LogChannelDWARF.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
NameToDIE.cpp Fix a few warnings caught by clang. 2016-10-07 21:32:16 +00:00
NameToDIE.h Convert UniqueCStringMap to use StringRef. 2016-10-06 21:22:44 +00:00
SymbolFileDWARF.cpp [lldb] Update the check for Linux or FreeBSD in SymbolFileDWARF::FindFunctions 2016-12-05 18:42:21 +00:00
SymbolFileDWARF.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SymbolFileDWARFDebugMap.cpp Remove TimeValue usage from Core/Module 2016-11-09 09:59:18 +00:00
SymbolFileDWARFDebugMap.h Remove TimeValue usage from Core/Module 2016-11-09 09:59:18 +00:00
SymbolFileDWARFDwo.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
SymbolFileDWARFDwo.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
UniqueDWARFASTType.cpp *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00
UniqueDWARFASTType.h *** This commit represents a complete reformatting of the LLDB source code 2016-09-06 20:57:50 +00:00