Skip to content

Commit

Permalink
Move illink documentation to runtime's documentation location (#78520)
Browse files Browse the repository at this point in the history
Fix links to point to new locations
  • Loading branch information
tlakollo authored Nov 17, 2022
1 parent 4acfa64 commit 86653c8
Show file tree
Hide file tree
Showing 16 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Method can return constant value if its code will always return the same value (
public bool Is32Bit { get => false; }
```

On 64bit platforms the property is compiled with constant value, and ILLInk can determine this. It's also possible to use substitutions to overwrite method's return value to a constant via the [substitutions XML file](../data-formats.md#substitution-format).
On 64bit platforms the property is compiled with constant value, and ILLInk can determine this. It's also possible to use substitutions to overwrite method's return value to a constant via the [substitutions XML file](../../../tools/illink/data-formats.md#substitution-format).

If such method is used in another method and it influences its return value, it can mean that the caller method will itself always return the same value. For example:

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ View the official trimming docs at [docs.microsoft.com](https://docs.microsoft.c
- [Authoring Custom Steps](custom-steps.md)

## Design Docs
- [Trimmer Steps Explained](design/steps-explained.md)
- [Reflection Handling](design/reflection-flow.md)
- [Trimmer Steps Explained](../../design/tools/illink/steps-explained.md)
- [Reflection Handling](../../design/tools/illink/reflection-flow.md)
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ The common operation in the custom steps is to run additional checks on the IL t
required constraints. The outcome of such operation is then usually some indication to the end user about
the incompatible code. This can be done by reporting the error or warning message using `context.LogMessage`
method. It's good practice to use error or warning code which does not conflict with existing codes as
listed [here](/docs/error-codes.md).
listed [here](error-codes.md).
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ unreachable will be removed.

### Adding custom linker steps

You can write [custom steps](/docs/custom-steps.md) for the linker and instruct
You can write [custom steps](custom-steps.md) for the linker and instruct
the linker to add them into its existing pipeline. To tell the linker where this assembly is
located, you have to append its full path after a comma which separates the custom
step's name from the custom assembly's path
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 86653c8

Please sign in to comment.