mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[semantic-sil] Add a new pass that dumps out the ownership of all SILValue in a function and performs some minor checks upon them.
rdar://29671437
This commit is contained in:
@@ -237,6 +237,8 @@ PASS(UnsafeGuaranteedPeephole, "unsafe-guaranteed-peephole",
|
||||
"Builtin.unsafeGuaranteed")
|
||||
PASS(UsePrespecialized, "use-prespecialized",
|
||||
"Use pre-specialized functions")
|
||||
PASS(ValueOwnershipKindDumper, "value-ownership-kind-dumper",
|
||||
"Print the value ownership kind of all ValueBase in a SILModule")
|
||||
PASS(BugReducerTester, "bug-reducer-tester",
|
||||
"Utility pass for testing sil-bug-reducer. Asserts when visits an apply that calls a specific function")
|
||||
PASS_RANGE(AllPasses, AADumper, BugReducerTester)
|
||||
|
||||
Reference in New Issue
Block a user