hanchenye-llvm-project/lldb
Greg Clayton 66a907a6bd Added new properties to lldb.SBModule classes:
"compile_units" returns an array of all compile units in a module as a list() of lldb.SBCompileUnit objects.

"compile_unit" returns a compile unit accessor object that allows indexed access, search by full or partial path, or by regex:

(lldb) script
comp_unit = lldb.target.module['TextEdit'].compile_unit['Document.m']
comp_unit = lldb.target.module['TextEdit'].compile_unit['/path/to/Document.m']
comp_unit = lldb.target.module['TextEdit'].compile_unit[0]
comp_unit = lldb.target.module['TextEdit'].compile_unit[1]
for comp_unit in lldb.target.module['TextEdit'].compile_unit[re.compile("\.m$")]
  print comp_unit

This helps do quick searches and scripting while debugging.

llvm-svn: 176613
2013-03-07 03:25:11 +00:00
..
docs Fix document typos, indentation in python code, and API examples. 2013-02-12 20:01:49 +00:00
examples Added a new module that can dump all line tables for all compile units in any modules that are specified as arguments to the "dump_module_line_tables" command. 2013-03-07 02:57:54 +00:00
include <rdar://problem/13184855> 2013-03-05 23:52:49 +00:00
lib Continuing the fix for the r173732 fix. Now lldb gets built with Makefiles (Darwin). 2013-01-30 00:28:58 +00:00
lldb.xcodeproj <rdar://problem/13265017> 2013-02-21 23:57:25 +00:00
lldb.xcworkspace
resources Get LLDB-Info.plist up to date with r169081. 2012-12-08 01:20:07 +00:00
scripts Added new properties to lldb.SBModule classes: 2013-03-07 03:25:11 +00:00
source <rdar://problem/13119170> 2013-03-06 23:59:34 +00:00
test Fix running of LLDB tests with cmake+ninja+ccache 2013-03-07 00:50:54 +00:00
tools <rdar://problem/13338758> 2013-03-04 21:25:51 +00:00
utils Minor update to Vim frontend: simplify breakpoints display (and list unresolved breakpoints) 2013-02-12 00:31:40 +00:00
www Be more precise in GCC/autoconf build instructions about compiler versions 2013-03-05 22:58:53 +00:00
.gitignore Remove "llvm" from list of things to ignore. This results in the 2012-03-03 06:43:59 +00:00
CMakeLists.txt Fix Linux i386 build 2013-03-07 00:48:53 +00:00
INSTALL.txt Update INSTALL.txt to mention LLDB builds on Linux with GCC or Clang. 2013-02-21 22:37:18 +00:00
LICENSE.TXT
Makefile Fix Linux i386 build 2013-03-07 00:48:53 +00:00