[all-commits] [llvm/llvm-project] f18233: Fix -fsanitize=array-bound to treat T[0] union mem...

Richard Smith via All-commits all-commits at lists.llvm.org
Wed Mar 18 15:47:54 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f18233dad4669eaf59ca996dca79beae8d364247
      https://github.com/llvm/llvm-project/commit/f18233dad4669eaf59ca996dca79beae8d364247
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-03-18 (Wed, 18 Mar 2020)

  Changed paths:
    M clang/lib/CodeGen/CGExpr.cpp
    M clang/test/CodeGen/bounds-checking.c

  Log Message:
  -----------
  Fix -fsanitize=array-bound to treat T[0] union members as flexible array
members regardless of whether they're the last member of the union.




More information about the All-commits mailing list