diff options
author | Raiki Tamura <tamaron1203@gmail.com> | 2023-10-12 17:24:46 +0900 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:13:14 +0100 |
commit | 4bd9f1159ba054c9cacfd9a5cd0186c1791987d1 (patch) | |
tree | bdf8eb915472b016d47cb70168afc28489026483 /gcc/cp | |
parent | 4011a8b5a16abca411b74aa0fd131c3dc0b3771a (diff) | |
download | gcc-4bd9f1159ba054c9cacfd9a5cd0186c1791987d1.zip gcc-4bd9f1159ba054c9cacfd9a5cd0186c1791987d1.tar.gz gcc-4bd9f1159ba054c9cacfd9a5cd0186c1791987d1.tar.bz2 |
gccrs: v0-mangle closures
gcc/rust/ChangeLog:
* backend/rust-compile-expr.cc (CompileExpr::generate_closure_function):
Fix reference to node.
* backend/rust-mangle.cc (struct V0Path): Modified to accept closures.
(v0_crate_path): Modified to accept closures.
(v0_closure): New function to mangle closures.
(v0_path): Modified to accept closures
* util/rust-mapping-common.h (UNKNOWN_NODEID): Change to UINT32_MAX.
(UNKNOWN_HIRID): Change to UINT32_MAX.
gcc/testsuite/ChangeLog:
* rust/compile/v0-mangle2.rs: New test.
Signed-off-by: Raiki Tamura <tamaron1203@gmail.com>
Diffstat (limited to 'gcc/cp')
0 files changed, 0 insertions, 0 deletions