[PATCH] D152650: [docs] Improve UndefinedBehaviorSanitizer.rst
Vitaly Buka via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 12 12:53:25 PDT 2023
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 -fno-sanitize=undefined -fsanitize=alignment a.c
+
----------------
I guess this is the good example of alignment
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D152650/new/
https://reviews.llvm.org/D152650
More information about the cfe-commits
mailing list