[llvm-branch-commits] [ubsan] Remove -fsanitizer=vptr from -fsanitizer=undefined (PR #121115)

Richard Smith via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Thu Dec 26 11:11:13 PST 2024


================
@@ -210,11 +210,6 @@ Available checks are:
      (see ``-fsanitize=implicit-integer-conversion``).
   -  ``-fsanitize=vla-bound``: A variable-length array whose bound
      does not evaluate to a positive value.
-  -  ``-fsanitize=vptr``: Use of an object whose vptr indicates that it is of
-     the wrong dynamic type, or that its lifetime has not begun or has ended.
-     Incompatible with ``-fno-rtti``. Link must be performed by ``clang++``, not
-     ``clang``, to make sure C++-specific parts of the runtime library and C++
-     standard libraries are present.
 
 You can also use the following check groups:
----------------
zygoloid wrote:

The first bullet below should mention that `-fsanitize=undefined` doesn't include `-fsanitize=vptr`.

https://github.com/llvm/llvm-project/pull/121115


More information about the llvm-branch-commits mailing list