Skip to content

Commit

Permalink
Emphasize the default base of multiversioning in the documentation, a…
Browse files Browse the repository at this point in the history
…nd discourage the implicit default base (#50211)
  • Loading branch information
pchintalapudi committed Jun 19, 2023
1 parent 9501540 commit 90521dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions doc/src/devdocs/sysimg.md
Expand Up @@ -42,6 +42,9 @@ All features supported by LLVM are supported and a feature can be disabled with
(`+` prefix is also allowed and ignored to be consistent with LLVM syntax).
Additionally, a few special features are supported to control the function cloning behavior.

!!! note
It is good practice to specify either `clone_all` or `base(<n>)` for every target apart from the first one. This makes it explicit which targets have all functions cloned, and which targets are based on other targets. If this is not done, the default behavior is to not clone every function, and to use the first target's function definition as the fallback when not cloning a function.

1. `clone_all`

By default, only functions that are the most likely to benefit from
Expand Down

1 comment on commit 90521dd

@nanosoldier
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Executing the daily package evaluation, I will reply here when finished:

@nanosoldier runtests(isdaily = true)

Please sign in to comment.