[Lldb-commits] [lldb] r138045 - /lldb/trunk/utils/test/lldb-disasm.py
Johnny Chen
johnny.chen at apple.com
Fri Aug 19 10:28:25 PDT 2011
Author: johnny
Date: Fri Aug 19 12:28:25 2011
New Revision: 138045
URL: http://llvm.org/viewvc/llvm-project?rev=138045&view=rev
Log:
Fix TypeError exception for re.compile().
Modified:
lldb/trunk/utils/test/lldb-disasm.py
Modified: lldb/trunk/utils/test/lldb-disasm.py
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/utils/test/lldb-disasm.py?rev=138045&r1=138044&r2=138045&view=diff
==============================================================================
--- lldb/trunk/utils/test/lldb-disasm.py (original)
+++ lldb/trunk/utils/test/lldb-disasm.py Fri Aug 19 12:28:25 2011
@@ -129,7 +129,8 @@
limited = True if num != -1 else False
if limited:
count = 0
- pattern = re.compile(re_symbol_pattern)
+ if re_symbol_pattern:
+ pattern = re.compile(re_symbol_pattern)
stream = lldb.SBStream()
for m in target.module_iter():
print "module:", m
More information about the lldb-commits
mailing list