Skip to content

Commit 90521dd

Browse files
Emphasize the default base of multiversioning in the documentation, and discourage the implicit default base (#50211)
1 parent 9501540 commit 90521dd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

doc/src/devdocs/sysimg.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@ All features supported by LLVM are supported and a feature can be disabled with
4242
(`+` prefix is also allowed and ignored to be consistent with LLVM syntax).
4343
Additionally, a few special features are supported to control the function cloning behavior.
4444

45+
!!! note
46+
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.
47+
4548
1. `clone_all`
4649

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

0 commit comments

Comments
 (0)