[docs] Improve UndefinedBehaviorSanitizer.rst
authorFangrui Song <i@maskray.me>
Mon, 12 Jun 2023 20:04:29 +0000 (13:04 -0700)
committerFangrui Song <i@maskray.me>
Mon, 12 Jun 2023 20:04:29 +0000 (13:04 -0700)
commitee0367ef13f87cdac869647d731f820a98746fe6
treea26e2fa6b740587f2ec7847743b8c16aff7b13ee
parent1d6c3e29f6aa45914faa7be00a939b8f550f38e9
[docs] Improve UndefinedBehaviorSanitizer.rst

* 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.

Reviewed By: #sanitizers, vitalybuka

Differential Revision: https://reviews.llvm.org/D152650
clang/docs/UndefinedBehaviorSanitizer.rst