mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Add a new semantics attribute to disable SIL verification on a function
This provides a way to disable verification per function instead of the entire module.
This commit is contained in:
@@ -165,5 +165,7 @@ SEMANTICS_ATTR(USE_FRAME_POINTER, "use_frame_pointer")
|
||||
SEMANTICS_ATTR(FIXED_STORAGE_CHECK_INDEX, "fixed_storage.check_index")
|
||||
SEMANTICS_ATTR(FIXED_STORAGE_GET_COUNT, "fixed_storage.get_count")
|
||||
|
||||
SEMANTICS_ATTR(NO_SIL_VERIFICATION, "sil.verify_none")
|
||||
|
||||
#undef SEMANTICS_ATTR
|
||||
|
||||
|
||||
Reference in New Issue
Block a user