[all-commits] [llvm/llvm-project] ee9947: [clang] Fix bitfield access unit for vbase corner ...

Nathan Sidwell via All-commits all-commits at lists.llvm.org
Mon Apr 1 12:42:00 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ee99475068523de185dce0a449b65e684a1e6b73
      https://github.com/llvm/llvm-project/commit/ee99475068523de185dce0a449b65e684a1e6b73
  Author: Nathan Sidwell <nathan at acm.org>
  Date:   2024-04-01 (Mon, 01 Apr 2024)

  Changed paths:
    M clang/lib/CodeGen/CGRecordLayoutBuilder.cpp
    M clang/test/CodeGenCXX/bitfield-access-tail.cpp

  Log Message:
  -----------
  [clang] Fix bitfield access unit for vbase corner case (#87238)

This fixes #87227, a vbase can be placed below nvsize when empty members and/or bases are in play. We must account for that.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list