llvm-project/lldb/source/Symbol
Tamas Berghammer 8c6996f737 Unconditionally accept symbol sizes from elf
The ELF symbol table always contain the size of the symbols so we
don't have to try to guess them based on the address of the next
symbol (it is needed for mach-o).

The change fixes an issue when a symbol is removed after a 0 size
symbol (e.g. because the second one is not public) what previously
caused the symbol lookup algorithm to end up with showing the 0 size
symbol even for the later addresses (what are not part of any symbol).
That symbol lookup error can confuse the user and also confuses the
current stack unwinder.

Re-commit this CL after fixing the issue with gcc-4.9.2 on i386 Linux.

Differential revision: http://reviews.llvm.org/D16186

llvm-svn: 258113
2016-01-19 10:24:51 +00:00
..
ArmUnwindInfo.cpp Fix several issues around .ARM.exidx section handling 2015-10-02 11:58:26 +00:00
Block.cpp Final bit of type system cleanup that abstracts declaration contexts into lldb_private::CompilerDeclContext and renames ClangType to CompilerType in many accessors and functions. 2015-08-24 23:46:31 +00:00
CMakeLists.txt Read macro info from .debug_macro section and use it for expression evaluation. 2015-12-16 00:22:08 +00:00
ClangASTContext.cpp Fix ambiguous resolution of clang::ArrayType/llvm::ArrayType in ClangAstContext 2016-01-14 12:18:09 +00:00
ClangASTImporter.cpp Trying to submit 254476 one more time. This implement -gmodule debugging support. 2015-12-08 01:02:08 +00:00
ClangExternalASTSourceCallbacks.cpp Trying to submit 254476 one more time. This implement -gmodule debugging support. 2015-12-08 01:02:08 +00:00
ClangExternalASTSourceCommon.cpp Fixed an unfortunate reversed conditional that 2014-12-06 02:31:49 +00:00
CompactUnwindInfo.cpp Clean up register naming conventions inside lldb. 2015-09-15 23:20:34 +00:00
CompileUnit.cpp Read macro info from .debug_macro section and use it for expression evaluation. 2015-12-16 00:22:08 +00:00
CompilerDecl.cpp Fixed TypeMemberFunctionImpl to not use clang types directly but use the new CompilerDecl class to do the job in an abstract way. 2015-11-10 17:47:04 +00:00
CompilerDeclContext.cpp Better scheme to lookup alternate mangled name when looking up function address. 2016-01-07 23:32:34 +00:00
CompilerType.cpp Rework the way in which ValueObjectChild decides how to update itself; this is a slight refactoring that I need as part of a larger master plan. As such, should be NFC 2015-11-09 23:07:55 +00:00
DWARFCallFrameInfo.cpp Clean up register naming conventions inside lldb. 2015-09-15 23:20:34 +00:00
DebugMacros.cpp Read macro info from .debug_macro section and use it for expression evaluation. 2015-12-16 00:22:08 +00:00
Declaration.cpp For some reason, sometimes the directory paths that clang emits have internal 2014-11-15 01:54:26 +00:00
FuncUnwinders.cpp Add support for .ARM.exidx unwind information 2015-09-30 13:50:14 +00:00
Function.cpp Introudce a IsTopLevelFunction() API on Language and Function 2015-09-30 23:12:22 +00:00
GoASTContext.cpp Implement missing GoASTContext methods 2016-01-15 19:35:48 +00:00
LineEntry.cpp When constructing an address range to "step" or "next" through, 2015-12-15 00:40:30 +00:00
LineTable.cpp Fix dwarf sequence insertions 2016-01-08 01:39:14 +00:00
Makefile
ObjectFile.cpp Read macro info from .debug_macro section and use it for expression evaluation. 2015-12-16 00:22:08 +00:00
Symbol.cpp Unconditionally accept symbol sizes from elf 2016-01-19 10:24:51 +00:00
SymbolContext.cpp Rework breakpoint language filtering to use the symbol context's language. 2015-12-16 19:40:00 +00:00
SymbolFile.cpp Better scheme to lookup alternate mangled name when looking up function address. 2016-01-07 23:32:34 +00:00
SymbolVendor.cpp Read macro info from .debug_macro section and use it for expression evaluation. 2015-12-16 00:22:08 +00:00
Symtab.cpp Unconditionally accept symbol sizes from elf 2016-01-19 10:24:51 +00:00
Type.cpp Remove default case in switch which covers all enumeration values 2015-12-08 20:50:35 +00:00
TypeList.cpp Testcase and fix for bug 24074 2015-10-08 09:45:41 +00:00
TypeMap.cpp Fix a crasher in SymbolContext::SortTypeList() where something that was iterating over a std::multimap was actually mutating the list. 2015-11-19 23:10:45 +00:00
TypeSystem.cpp Change DeclContextFindDeclByName to return a vector of CompilerDecl objects. Opaque pointers should only be used for the decl context object. Also made a default implementation so that GoASTContext doesn't need to override DeclContextFindDeclByName. 2015-12-08 18:39:50 +00:00
UnwindPlan.cpp Improve instruction emulation based stack unwinding on ARM 2015-06-24 11:27:32 +00:00
UnwindTable.cpp Add support for .ARM.exidx unwind information 2015-09-30 13:50:14 +00:00
Variable.cpp Rename clang_type -> compiler_type for variables. 2015-09-24 03:54:50 +00:00
VariableList.cpp Fix resolution conflict between global and class static variables in C++ 2015-08-18 22:46:57 +00:00
VerifyDecl.cpp