[PATCH] D152650: [docs] Improve UndefinedBehaviorSanitizer.rst

2023-06-12 Thread Fangrui Song via Phabricator via cfe-commits
This revision was landed with ongoing or failed builds. This revision was automatically updated to reflect the committed changes. Closed by commit rGee0367ef13f8: [docs] Improve UndefinedBehaviorSanitizer.rst (authored by MaskRay). Changed prior to commit: https://reviews.llvm.org/D152650?vs=53

[PATCH] D152650: [docs] Improve UndefinedBehaviorSanitizer.rst

2023-06-12 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay updated this revision to Diff 530645. MaskRay marked an inline comment as done. MaskRay edited the summary of this revision. MaskRay added a comment. better -fsanitize=... -fno-sanitize example Add "If the signal is not caught, the program will typically terminate due to a ``SIGILL`` or `

[PATCH] D152650: [docs] Improve UndefinedBehaviorSanitizer.rst

2023-06-12 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay added inline comments. Comment at: clang/docs/UndefinedBehaviorSanitizer.rst:62 + # -fno-sanitize=undefined nullifies the previous -fsanitize=undefined. + % clang -fsanitize=undefined -fno-sanitize=undefined -fsanitize=alignment a.c + vitalybuka wrote:

[PATCH] D152650: [docs] Improve UndefinedBehaviorSanitizer.rst

2023-06-12 Thread Vitaly Buka via Phabricator via cfe-commits
vitalybuka accepted this revision. vitalybuka added inline comments. This revision is now accepted and ready to land. Comment at: clang/docs/UndefinedBehaviorSanitizer.rst:62 + # -fno-sanitize=undefined nullifies the previous -fsanitize=undefined. + % clang -fsanitize=undefined

[PATCH] D152650: [docs] Improve UndefinedBehaviorSanitizer.rst

2023-06-11 Thread Fangrui Song via Phabricator via cfe-commits
MaskRay created this revision. MaskRay added reviewers: Sanitizers, vitalybuka. Herald added a project: All. MaskRay requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits. - Mention that -fsanitize= and -fno-sanitize= apply to check groups. - Ment