On Tue, 18 Nov 2014, Ilya Enkovich wrote:

> +@item -fcheck-pointer-bounds
> +@opindex fcheck-pointer-bounds
> +@opindex fno-check-pointer-bounds
> +Enable Pointer Bounds Checker instrumentation.  Each memory reference
> +is instrumented with checks of pointer used for memory access against
> +bounds associated with that pointer.  Generated instrumentation may
> +be controlled by various @option{-fchkp-*} options.

If this is only operational given -mmpx and when the generated code is run 
on a processor supporting MPX, I think the documentation needs to make 
that clear.

> +@item -fchkp-use-fast-string-functions
> +@opindex fchkp-use-fast-string-functions
> +@opindex fno-chkp-use-fast-string-functions
> +Allow to use *_nobnd versions of string functions (not copying bounds)
> +by Pointer Bounds Checker.  Disabled by default.

@code{*_nobnd}.

> +@item -fchkp-use-nochk-string-functions
> +@opindex fchkp-use-nochk-string-functions
> +@opindex fno-chkp-use-nochk-string-functions
> +Allow to use *_nochk versions of string functions (not checking bounds)
> +by Pointer Bounds Checker.  Disabled by default.

@code{*_nochk).

> +@item -fchkp-instrument-marked-only
> +@opindex fchkp-instrument-marked-only
> +@opindex fno-chkp-instrument-marked-only
> +Instructs Pointer Bounds Checker to instrument only functions
> +marked with bnd_instrument attribute.  Disabled by default.

@code{bnd_instrument}.

> +@item -fchkp-use-wrappers
> +@opindex fchkp-use-wrappers
> +@opindex fno-chkp-use-wrappers
> +Allows Pointer Bounds Checker to replace calls to builtin function
> +with calls to wrapper functions.  Enabled by default.

"built-in functions".

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to