diff options
author | Sirraide <aeternalmail@gmail.com> | 2024-03-04 14:04:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-04 14:04:35 +0100 |
commit | e4882d83d77f9d6a5198ecb7faabd5bf2ce4b730 (patch) | |
tree | 82a3416c5081512798ca015f622676942b8935ae /clang/docs | |
parent | c089fa5a729e217d0c0d4647656386dac1a1b135 (diff) | |
download | llvm-e4882d83d77f9d6a5198ecb7faabd5bf2ce4b730.zip llvm-e4882d83d77f9d6a5198ecb7faabd5bf2ce4b730.tar.gz llvm-e4882d83d77f9d6a5198ecb7faabd5bf2ce4b730.tar.bz2 |
[Clang] [Sema] Do not crash on dependent or invalid record decls when `-fdump-record-layouts-complete` is passed (#83688)
We no longer try to compute and dump the layout of types in cases where that isn’t possible.
This fixes #83684 and #83671.
Diffstat (limited to 'clang/docs')
-rw-r--r-- | clang/docs/ReleaseNotes.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/docs/ReleaseNotes.rst b/clang/docs/ReleaseNotes.rst index 6f6ce7c..045bcd1 100644 --- a/clang/docs/ReleaseNotes.rst +++ b/clang/docs/ReleaseNotes.rst @@ -321,6 +321,10 @@ Miscellaneous Bug Fixes Miscellaneous Clang Crashes Fixed ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +- Do not attempt to dump the layout of dependent types or invalid declarations + when ``-fdump-record-layouts-complete`` is passed. + Fixes (`#83684 <https://github.com/llvm/llvm-project/issues/83684>`_). + OpenACC Specific Changes ------------------------ |