aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
diff options
context:
space:
mode:
authorazhan92 <alisonxzhang@gmail.com>2024-01-22 13:38:54 -0500
committerGitHub <noreply@github.com>2024-01-22 13:38:54 -0500
commit4207ad57707f07208dfb1d7c79889e1372c396ab (patch)
treeddf2314ddbffc74c844d5f21ffa73d53339708b2 /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp
parent5ce286849a0cc605210031411265c2a84fc6c633 (diff)
downloadllvm-4207ad57707f07208dfb1d7c79889e1372c396ab.zip
llvm-4207ad57707f07208dfb1d7c79889e1372c396ab.tar.gz
llvm-4207ad57707f07208dfb1d7c79889e1372c396ab.tar.bz2
[libc++] Fix noexcept behaviour of operator new helper functions (#74337)
This patch removes the noexcept specifier introduced in #69407 since the Standard allows a new handler to throw an exception of type bad_alloc (or derived from it). With the noexcept specifier on the helper functions, we would immediately terminate the program. The patch also adds tests for the case that had regressed. Co-authored-by: Alison Zhang <alisonzhang@ibm.com>
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions