diff options
author | Louis Dionne <ldionne.2@gmail.com> | 2023-09-07 09:59:57 -0400 |
---|---|---|
committer | Louis Dionne <ldionne.2@gmail.com> | 2023-10-05 13:02:00 -0400 |
commit | 0687e4d9f310249a45c3799ec66aeeeb0efda9f7 (patch) | |
tree | 10cf3934426c0d365a63d9b923152f7548415f62 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | 091f4f496b7f50438494a5d6ed07c8f287069136 (diff) | |
download | llvm-0687e4d9f310249a45c3799ec66aeeeb0efda9f7.zip llvm-0687e4d9f310249a45c3799ec66aeeeb0efda9f7.tar.gz llvm-0687e4d9f310249a45c3799ec66aeeeb0efda9f7.tar.bz2 |
[libc++] Remove UB in list, forward_list and __hash_table
This patch removes undefined behavior in list and forward_list and __hash_table
caused by improperly beginning and ending the lifetime of the various node
classes. It allows removing the _LIBCPP_STANDALONE_DEBUG macro from
these node types since we now properly begin and end their lifetime,
meaning that we won't trip up constructor homing.
See https://reviews.llvm.org/D98750 for more information on what prompted
this patch.
Differential Revision: https://reviews.llvm.org/D101206
Co-authored-by: Amy Kwan <amy.kwan1@ibm.com>
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions