We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f40b207 + 3bbc99e commit fc63682Copy full SHA for fc63682
test/Runtime/linux-fatal-backtrace.swift
@@ -6,8 +6,6 @@
6
// REQUIRES: lldb
7
// XFAIL: CPU=s390x
8
9
-// REQUIRES: rdar63666780
10
-
11
// NOTE: not.py is used above instead of "not --crash" because %target-run
12
// doesn't pass through the crash, and `not` may not be available when running
13
// on a remote host.
utils/backtrace-check
@@ -72,6 +72,10 @@ def main():
72
found_stack_trace_start = False
73
found_stack_trace_entry = False
74
for line in lines:
75
+ # In Python 2, string objects can contain Unicode characters.
76
+ if sys.version_info.major == 2:
77
+ line = line.decode('utf-8', 'replace')
78
+
79
line = line.rstrip('\n')
80
81
# First see if we found the start of our stack trace start. If so, set
0 commit comments