[Lldb-commits] [PATCH] D83008: Fix ItaniumRecordLayoutBuilder so that is grabs the correct bases class offsets from the external source
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 6 12:53:58 PDT 2020
teemperor added a comment.
In D83008#2131796 <https://reviews.llvm.org/D83008#2131796>, @tschuett wrote:
> You could try:
>
> clangxx_host -Xclang -fdump-record-layouts %p/Inputs/layout.cpp -emit-llvm -o /dev/null
>
>
> You could commit the record layouts without your fix to show the differences that you patch makes.
Yeah that's I think the proper way to check the results, but IIRC the problem with testing this in Clang is that `foverride-record-layout=` (the testing approach for this code) doesn't support specifying base class offset), so we can't even *trigger* the bug itself in Clang itself. That what I was referring to with "layout overwrite JSON file" in my comment above.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83008/new/
https://reviews.llvm.org/D83008
More information about the lldb-commits
mailing list