This lets us remove two pointer indirections (one by removing the pointer,
and another by making the AllocatorPtr declaration hidden) in the C++ wrappers.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D74356
scudo: Instead of exporting a pointer to the allocator, export the allocator directly. NFCI. ClosedPublic Authored by pcc on Feb 10 2020, 1:43 PM.
Details Summary This lets us remove two pointer indirections (one by removing the pointer,
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 10 2020, 1:43 PM This revision is now accepted and ready to land.Feb 10 2020, 1:58 PM Closed by commit rG681773f2919d: scudo: Instead of exporting a pointer to the allocator, export the allocator… (authored by pcc). · Explain WhyFeb 10 2020, 3:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 243682 compiler-rt/lib/scudo/standalone/internal_defs.h
compiler-rt/lib/scudo/standalone/wrappers_c.cpp
compiler-rt/lib/scudo/standalone/wrappers_c_bionic.cpp
compiler-rt/lib/scudo/standalone/wrappers_cpp.cpp
|