[all-commits] [llvm/llvm-project] 5b3247: [tbaa] Handle base classes in struct tbaa

dobbelaj-snps via All-commits all-commits at lists.llvm.org
Wed Jul 6 05:38:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5b3247bf9f715cc1b399af1e17540b3a3ce9cdec
      https://github.com/llvm/llvm-project/commit/5b3247bf9f715cc1b399af1e17540b3a3ce9cdec
  Author: Bruno De Fraine <brunodf at synopsys.com>
  Date:   2022-07-06 (Wed, 06 Jul 2022)

  Changed paths:
    M clang/lib/CodeGen/CodeGenTBAA.cpp
    M clang/test/CodeGen/tbaa-class.cpp
    M clang/unittests/CodeGen/TBAAMetadataTest.cpp

  Log Message:
  -----------
  [tbaa] Handle base classes in struct tbaa

This is a fix for the miscompilation reported in https://github.com/llvm/llvm-project/issues/55384

Not adding a new test case since existing test cases already cover base classes (including new-struct-path tbaa).

Reviewed By: jeroen.dobbelaere

Differential Revision: https://reviews.llvm.org/D126956




More information about the All-commits mailing list