Changeset View
Changeset View
Standalone View
Standalone View
clang/docs/ReleaseNotes.rst
Show First 20 Lines • Show All 439 Lines • ▼ Show 20 Lines | |||||
--------------- | --------------- | ||||
- Removed the deprecated ``-analyzer-store`` and | - Removed the deprecated ``-analyzer-store`` and | ||||
``-analyzer-opt-analyze-nested-blocks`` analyzer flags. | ``-analyzer-opt-analyze-nested-blocks`` analyzer flags. | ||||
``scanbuild`` was also updated accordingly. | ``scanbuild`` was also updated accordingly. | ||||
Passing these flags will result in a hard error. | Passing these flags will result in a hard error. | ||||
.. _release-notes-ubsan: | .. _release-notes-ubsan: | ||||
Undefined Behavior Sanitizer (UBSan) | Sanitizers | ||||
------------------------------------ | ---------- | ||||
- ``-fsanitize-memory-param-retval`` is turned on by default. With | |||||
xbolva00: Probably I would mention that there is -fno-sanitize-memory-param-retval to disable it.
So one… | |||||
``-fsanitize=memory``, passing uninitialized variables to functions and | |||||
returning uninitialized variables from functions is more aggressively reported. | |||||
Core Analysis Improvements | Core Analysis Improvements | ||||
========================== | ========================== | ||||
- ... | - ... | ||||
New Issues Found | New Issues Found | ||||
================ | ================ | ||||
Show All 26 Lines |
Probably I would mention that there is -fno-sanitize-memory-param-retval to disable it.
So one can use “-fsanitize=memory -fno-sanitize-memory-param-retval“ to unblock failed builds.