aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcov-tool.cc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2024-01-30 01:48:13 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-08-01 13:11:29 +0200
commit6e04e69bff8e92a8df0f7663f9f7d3aac1b7fd31 (patch)
treeab2ebadb92378a4af58f11e5b46d7cf7c3c69c5b /gcc/gcov-tool.cc
parentd6332141d714888b53c1973f2d89ee24e422cb62 (diff)
downloadgcc-6e04e69bff8e92a8df0f7663f9f7d3aac1b7fd31.zip
gcc-6e04e69bff8e92a8df0f7663f9f7d3aac1b7fd31.tar.gz
gcc-6e04e69bff8e92a8df0f7663f9f7d3aac1b7fd31.tar.bz2
gccrs: libformat_parser: Send boxed values across FFI properly
gcc/rust/ChangeLog: * ast/rust-fmt.cc (Pieces::~Pieces): Call libformat_parser's release function in destructor. * ast/rust-fmt.h (struct PieceSlice): Add capacity. (destroy_pieces): New. (struct Pieces): Add destructor. libgrust/ChangeLog: * libformat_parser/src/lib.rs: Leak Boxes properly for C++ to see them, add memory release function.
Diffstat (limited to 'gcc/gcov-tool.cc')
0 files changed, 0 insertions, 0 deletions