Skip to content

Commit 68f0149

Browse files
committed
formatting
1 parent 98115f3 commit 68f0149

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

llvm/test/lit.cfg.py

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -753,11 +753,17 @@ def host_unwind_supports_jit():
753753
config.available_features.add("unix-sockets")
754754

755755
# .debug_frame is not emitted for targeting Windows x64, aarch64/arm64, AIX, or Apple Silicon Mac.
756-
if not re.match(
757-
r"^(x86_64|aarch64|arm64|powerpc|powerpc64).*-(windows-cygnus|windows-gnu|windows-msvc|aix)",
758-
config.target_triple,
759-
) and not re.match(r"^arm64(e)?-apple-(macos|darwin)", config.target_triple,
760-
) and not re.match(r".*-zos.*", config.target_triple):
756+
if (
757+
not re.match(
758+
r"^(x86_64|aarch64|arm64|powerpc|powerpc64).*-(windows-cygnus|windows-gnu|windows-msvc|aix)",
759+
config.target_triple,
760+
)
761+
and not re.match(
762+
r"^arm64(e)?-apple-(macos|darwin)",
763+
config.target_triple,
764+
)
765+
and not re.match(r".*-zos.*", config.target_triple)
766+
):
761767
config.available_features.add("debug_frame")
762768

763769
if config.enable_backtrace:

0 commit comments

Comments
 (0)