Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
95784c5a
Commit
95784c5a
authored
Oct 09, 2014
by
Marek Polacek
Committed by
Marek Polacek
Oct 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* doc/invoke.texi: Document -fsanitize=bool and -fsanitize=enum.
From-SVN: r216033
parent
f5e523b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
gcc/ChangeLog
+4
-0
gcc/doc/invoke.texi
+13
-0
No files found.
gcc/ChangeLog
View file @
95784c5a
2014
-
10
-
09
Marek
Polacek
<
polacek
@
redhat
.
com
>
*
doc
/
invoke
.
texi
:
Document
-
fsanitize
=
bool
and
-
fsanitize
=
enum
.
2014
-
10
-
08
Richard
Biener
<
rguenther
@
suse
.
de
>
PR
tree
-
optimization
/
61969
gcc/doc/invoke.texi
View file @
95784c5a
...
...
@@ -5604,6 +5604,19 @@ This option enables instrumentation of return statements in functions
marked with @code{returns_nonnull} function attribute, to detect returning
of null values from such functions.
@item -fsanitize=bool
@opindex fsanitize=bool
This option enables instrumentation of loads from bool. If a value other
than 0/1 is loaded, a run-time error is issued.
@item -fsanitize=enum
@opindex fsanitize=enum
This option enables instrumentation of loads from an enum type. If
a value outside the range of values for the enum type is loaded,
a run-time error is issued.
@end table
While @option{-ftrapv} causes traps for signed overflows to be emitted,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment