mirror of
https://github.com/apple/swift.git
synced 2025-12-14 20:36:38 +01:00
With the option -sil-print-debuginfo the printing of debug locations and scopes can be enabled. I made the default for the option “false”, because in 99% of the time I don’t need the debug info in the printed SIL and I prefer better readability.
8 lines
255 B
Plaintext
8 lines
255 B
Plaintext
// RUN: %target-sil-opt -sil-print-debuginfo -assume-parsing-unqualified-ownership-sil %s | %FileCheck %s
|
|
|
|
sil @foo : $@convention(thin) () -> () {
|
|
bb0:
|
|
return undef : $(), loc "foo.sil":12:34
|
|
// CHECK: return undef : $(), loc "foo.sil":12:34
|
|
}
|