aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2016-07-05 23:01:20 +0000
committerGreg Clayton <gclayton@apple.com>2016-07-05 23:01:20 +0000
commitad2b63cbaa33c0edcd378deb70caf3610c49ca2e (patch)
tree97d532c1a85ce35ded9a76e54388d4c7191a42b0 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentbe22e5ccbea07806a99510484dd432c8f1ac611b (diff)
downloadllvm-ad2b63cbaa33c0edcd378deb70caf3610c49ca2e.zip
llvm-ad2b63cbaa33c0edcd378deb70caf3610c49ca2e.tar.gz
llvm-ad2b63cbaa33c0edcd378deb70caf3610c49ca2e.tar.bz2
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
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions