hanchenye-llvm-project/lldb/scripts
Jason Molenda 6ab659a922 First part of an attempt to indicate to the user when they are
debugging optimized code.  Adds new methods on Function/SBFunction
to query whether a given function is optimized.  Adds a new
function.is-optimized format entity and changes the default 
frame-format to append "[opt]" if the function was built with
optimization.

The only indication that a binary was built with optimization
that we have right now is the presence of the DW_AT_APPLE_optimized
attribute (DW_FORM_flag value 1) in the DW_TAG_compile_unit.
The absence of this flag may mean that the compile_unit was not
compiled with optimization, or it may mean that the producer 
does not generate this attribute.

Currently this only works for dSYM debugging.  When we create
the CompileUnit with dwarf-in-.o-file debugging we don't have
the attribute value yet so it's not set.  I need to find the
flag value when we do start to read the .o file DWARF and 
set the CompileUnit's status at that point - but haven't 
done it yet.

I'm also going to add a mechanism for issuing warnings to users
such that they're only issued once in a debug session and 
there is away for users to suppress these warnings altogether
via .lldbinit file settings.  But I want to get this changeset
committed now that it's at a useful state.

<rdar://problem/19281172> 

llvm-svn: 243508
2015-07-29 00:42:47 +00:00
..
Python [Python] Allow PyLong values in integer lists (when converting to C lists) 2015-07-01 23:27:32 +00:00
interface First part of an attempt to indicate to the user when they are 2015-07-29 00:42:47 +00:00
CMakeLists.txt Add explicit dependency on headers to swig wrapper (cmake build) 2015-05-28 17:25:34 +00:00
Makefile Fix configure & make build with python disabled 2014-09-09 04:52:37 +00:00
build-lldb-llvm-clang
build-llvm.pl include compiler-rt in build-llvm.pl 2014-10-11 00:53:32 +00:00
build-swig-wrapper-classes.sh
buildSwigWrapperClasses.py Ignore the .svn directory when building swig wrappers (bug #23917) 2015-06-29 13:51:49 +00:00
buildbot.py
checkpoint-llvm.pl Fix typos. 2014-07-01 21:22:11 +00:00
disasm-gdb-remote.pl Fix typos. 2014-07-01 21:22:11 +00:00
finish-swig-wrapper-classes.sh Fixed Makefile-based install to place python packages in the LLDB install tree. 2013-12-06 23:16:23 +00:00
finishSwigWrapperClasses.py Ignore the .svn directory when building swig wrappers (bug #23917) 2015-06-29 13:51:49 +00:00
generate-vers.pl Make lldb build with Makefiles on OS X. 2014-01-18 08:05:32 +00:00
install-lldb.sh
install_custom_python.py Making linking against Python simpler on Windows. 2015-04-10 22:58:56 +00:00
lldb.swig Fix a variety of typos. 2015-06-18 05:27:05 +00:00
package-clang-headers.py If constructed llvm_build_dir doesn't exist, retry as an iphoneos path. 2015-02-21 06:13:51 +00:00
sed-sources Fix typos. 2014-07-01 21:22:11 +00:00
shush Several improvements to the shush script 2015-01-16 23:16:22 +00:00
utilsArgsParse.py Remove non-standard Environment header section 2015-03-23 17:57:42 +00:00
utilsDebug.py Remove non-standard Environment header section 2015-03-23 17:57:42 +00:00
utilsOsType.py Fix Darwin and FreeBSD OS type detection 2014-11-17 15:40:18 +00:00
verify_api.py