[libcxx-commits] [PATCH] D138006: [libc++abi] Refactoring works around __dynamic_cast
Sirui Mu via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Nov 14 23:37:27 PST 2022
Lancern created this revision.
Lancern added reviewers: philnik, ldionne, EricWF.
Herald added a project: All.
Lancern requested review of this revision.
Herald added projects: libc++, libc++abi.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.
Herald added a reviewer: libc++abi.
This commit contains refactorings around __dynamic_cast without changing its
behaviors. Some important changes include:
- Refactor __dynamic_cast into various small helper functions;
- Move dynamic_cast_stress.pass.cpp to libcxx/benchmarks and refactor it into a benchmark. The benchmark performance numbers are updated as well.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D138006
Files:
libcxx/benchmarks/CMakeLists.txt
libcxx/benchmarks/libcxxabi/dynamic_cast.bench.cpp
libcxx/benchmarks/libcxxabi/dynamic_cast_old_stress.bench.cpp
libcxxabi/src/private_typeinfo.cpp
libcxxabi/test/dynamic_cast_stress.pass.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138006.475351.patch
Type: text/x-patch
Size: 27171 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20221115/5930345a/attachment-0001.bin>
More information about the libcxx-commits
mailing list