Skip to content

Commit 297bc92

Browse files
[docs] Add documentation for _assemblyVision.
1 parent 7fb85c3 commit 297bc92

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/ReferenceGuides/UnderscoredAttributes.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,14 @@ Most notably, default argument expressions are implicitly
3939
`@_alwaysEmitIntoClient`, which means that adding a default argument to a
4040
function which did not have one previously does not break ABI.
4141

42+
## `@_assemblyVision`
43+
44+
Forces emission of assembly vision remarks for a function or method, showing
45+
where various runtime calls and performance impacting hazards are in the code
46+
at source level after optimization.
47+
48+
Adding this attribute to a type leads to remarks being emitted for all methods.
49+
4250
## `@_borrowed`
4351

4452
Indicates that the [conservative access pattern](/docs/Lexicon.md#access-pattern)

0 commit comments

Comments
 (0)