Add frontend option -verbose-asm to emit verbose assembly.

This enables the option by default to aid readability with
-emit-assembly.
This commit is contained in:
Ryan Mansfield
2025-09-15 08:27:26 -04:00
parent 5e325632ed
commit 4cc2940619
7 changed files with 32 additions and 4 deletions

View File

@@ -3,12 +3,12 @@
// respects this option and that we get the proper tbi behavior.
// RUN: %swiftc_driver -sdk "" -parse-sil -Xfrontend -disable-legacy-type-info -target arm64-apple-ios8.0 -target-cpu cyclone \
// RUN: -O -S %s -parse-as-library -parse-stdlib -module-name Swift \
// RUN: -O -S %s -parse-as-library -parse-stdlib -module-name Swift -Xfrontend -no-verbose-asm \
// RUN: | \
// RUN: %FileCheck --check-prefix=TBI %s
// RUN: %swiftc_driver -sdk "" -parse-sil -Xfrontend -disable-legacy-type-info -target arm64-apple-ios7.0 -target-cpu cyclone \
// RUN: -O -S %s -parse-as-library -parse-stdlib -module-name Swift \
// RUN: -O -S %s -parse-as-library -parse-stdlib -module-name Swift -Xfrontend -no-verbose-asm \
// RUN: | \
// RUN: %FileCheck --check-prefix=NO_TBI %s