[PATCH] D152472: [Clang][MS] Remove assertion on BaseOffset can't be smaller than Size.

Zequan Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jun 8 15:52:12 PDT 2023


zequanwu updated this revision to Diff 529757.
zequanwu added a comment.
Herald added subscribers: ChuanqiXu, mgrang.

Extend the output and reading of -fdump-record-layouts-simple.
Add a test case.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D152472/new/

https://reviews.llvm.org/D152472

Files:
  clang/include/clang/Frontend/LayoutOverrideSource.h
  clang/lib/AST/RecordLayoutBuilder.cpp
  clang/lib/Frontend/LayoutOverrideSource.cpp
  clang/test/CodeGenCXX/Inputs/override-layout-ms.layout
  clang/test/CodeGenCXX/override-layout-ms.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152472.529757.patch
Type: text/x-patch
Size: 10489 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230608/24198bc8/attachment.bin>


More information about the cfe-commits mailing list