commit | cbb28b9f50548ccfbc545c495ffc7fe1d2ed7378 | [log] [tgz] |
---|---|---|
author | Axel Lundberg <19574357+Zonotora@users.noreply.github.com> | Wed Apr 03 14:55:03 2024 +0200 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Apr 03 06:01:25 2024 -0700 |
tree | 7c9e4879957f44c0013f289d848b5e6ef210a80e | |
parent | ce3fd72c66007ac49cfa9480eeba502d0d0c8f33 [diff] |
[clang][UBSan] Add implicit conversion check for bitfields (#75481) This patch implements the implicit truncation and implicit sign change checks for bitfields using UBSan. E.g., `-fsanitize=implicit-bitfield-truncation` and `-fsanitize=implicit-bitfield-sign-change`. GitOrigin-RevId: 450f1952aced87584a53485d1ba1c2f77c3835a1