- Mention that -fsanitize= and -fno-sanitize= apply to check groups.
- Mention "all" can be used as a check group.
- Mention that -fsanitize-trap= and -fsanitize-recover= lead to no unused command line option warning.
- Mention that trap mode typically causes the program to terminate due to a SIGILL or SIGTRAP signal.
Details
Details
- Reviewers
vitalybuka - Group Reviewers
Restricted Project - Commits
- rGee0367ef13f8: [docs] Improve UndefinedBehaviorSanitizer.rst
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/docs/UndefinedBehaviorSanitizer.rst | ||
---|---|---|
62 | I guess this is the good example of alignment |
clang/docs/UndefinedBehaviorSanitizer.rst | ||
---|---|---|
62 | Thanks. This is a deliberate example to show that one can specify multiple -fsanitize= -fno-sanitize= and the driver will do some computation. I'll elaborate the comment. |
Comment Actions
better -fsanitize=... -fno-sanitize example
Add "If the signal is not caught, the program will typically terminate due to a `SIGILL or SIGTRAP` signal."
I guess this is the good example of alignment