llvm-svn: 129574
This commit is contained in:
Johnny Chen 2011-04-15 16:44:48 +00:00
parent 9bc6eedab4
commit 1691a1676c
1 changed files with 3 additions and 1 deletions

View File

@ -159,6 +159,8 @@ SOURCE_DISPLAYED_CORRECTLY = "Source code displayed correctly"
STEP_OUT_SUCCEEDED = "Thread step-out succeeded"
STOPPED_DUE_TO_EXC_BAD_ACCESS = "Process should be stopped due to bad access exception"
STOPPED_DUE_TO_BREAKPOINT = "Process should be stopped due to breakpoint"
STOPPED_DUE_TO_BREAKPOINT_WITH_STOP_REASON_AS = "%s, %s" % (
@ -223,7 +225,7 @@ def line_number(filename, string_to_match):
if line.find(string_to_match) != -1:
# Found our match.
return i+1
raise Exception("Unable to find %s within file %s" % (string_to_match, filename))
raise Exception("Unable to find '%s' within file %s" % (string_to_match, filename))
def pointer_size():
"""Return the pointer size of the host system."""