File tree 2 files changed +5
-5
lines changed
compiler/rustc_session/src
src/doc/unstable-book/src/compiler-flags
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -380,7 +380,7 @@ mod desc {
380
380
pub const parse_panic_strategy: & str = "either `unwind` or `abort`" ;
381
381
pub const parse_on_broken_pipe: & str = "either `kill`, `error`, or `inherit`" ;
382
382
pub const parse_patchable_function_entry: & str =
383
- "total_nops and optionally prefix_nops (defaulting prefix_nops=0 )" ;
383
+ "either two comma separated integers (total_nops, prefix_nops) or one integer (total_nops )" ;
384
384
pub const parse_opt_panic_strategy: & str = parse_panic_strategy;
385
385
pub const parse_oom_strategy: & str = "either `panic` or `abort`" ;
386
386
pub const parse_relro_level: & str = "one of: `full`, `partial`, or `off`" ;
Original file line number Diff line number Diff line change 2
2
3
3
--------------------
4
4
5
- The ` -Z patchable-function-entry=M,N ` or ` -Z patchable-function-entry=M `
6
- compiler flag enables nop padding of function entries with M nops, with
7
- an offset for the entry of the function at N nops. In the second form,
8
- N defaults to 0.
5
+ The ` -Z patchable-function-entry=total_nops,prefix_nops ` or ` -Z patchable-function-entry=total_nops `
6
+ compiler flag enables nop padding of function entries with 'total_nops' nops, with
7
+ an offset for the entry of the function at 'prefix_nops' nops. In the second form,
8
+ 'prefix_nops' defaults to 0.
9
9
10
10
As an illustrative example, ` -Z patchable-function-entry=3,2 ` would produce:
11
11
You can’t perform that action at this time.
0 commit comments