llvm-project/lldb/source/Plugins/SymbolFile/Symtab
Greg Clayton ad2b63cbaa Warning about debugging optimized code was not happening without dSYMs. Now it works for DWARF in .o files on Darwin.
I changed "m_is_optimized" in lldb_private::CompileUnit over to be a lldb::LazyBool so that it can be set to eLazyBoolCalculate if it needs to be parsed later. With SymbolFileDWARFDebugMap, we don't actually open the DWARF in the .o files for each compile unit until later, and we can't tell if a compile unit is optimized ahead of time. So to avoid pulling in all .o right away just so we can answer the questions of "is this compile unit optimized" we defer it until a point where we will have the compile unit parsed.

<rdar://problem/26068360> 

llvm-svn: 274585
2016-07-05 23:01:20 +00:00
..
CMakeLists.txt [cmake] Remove LLVM_NO_RTTI. 2015-09-03 08:46:55 +00:00
SymbolFileSymtab.cpp Warning about debugging optimized code was not happening without dSYMs. Now it works for DWARF in .o files on Darwin. 2016-07-05 23:01:20 +00:00
SymbolFileSymtab.h Read macro info from .debug_macro section and use it for expression evaluation. 2015-12-16 00:22:08 +00:00