diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-07-15 11:02:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-15 11:02:55 +0000 |
commit | 0a9416fc0446b1da80cb39d2534bf030ae7739bd (patch) | |
tree | e742d5e608e54debbf4428ee5b0e5277216565bd /gcc | |
parent | f51284b598863eb0cbeb2984fd1499a672f2191d (diff) | |
parent | 8775525b042679bdd9c2b8dad68e65cec4b3dd79 (diff) | |
parent | 81c4b6989f044a45455717b752cafb96f04b768e (diff) | |
parent | 6bf6241f29e73678b8c7d3508cdb39b55ae9d1ab (diff) | |
parent | e3f135ef0beb51b77cae7c6af40c5a1c4dfe7722 (diff) | |
download | gcc-0a9416fc0446b1da80cb39d2534bf030ae7739bd.zip gcc-0a9416fc0446b1da80cb39d2534bf030ae7739bd.tar.gz gcc-0a9416fc0446b1da80cb39d2534bf030ae7739bd.tar.bz2 |
Merge #1385 #1386 #1387 #1388
1385: Add missing include for intellisense r=philberty a=philberty
1386: Fix undefined behaviour using .get on unique_ptr r=philberty a=philberty
As the move semantics for AST and HIR crates are unsafe on older compilers
we are working around this by storing the pointer into the mappings class
this was using the get method to store the pointer. The issue for loading
extern crates the unique_ptr goes out of scope and this the deletion code
resulting in undefined behaviour. This changes it to call release to take
full ownership of the pointer as we expect.
1387: External Items with Rust ABI need to mangle the full path r=philberty a=philberty
When compiling external rust abi item requires the fully qualified
canonical path to be mangled in order to link correctly.
1388: Add new interfaces to mappings class r=philberty a=philberty
In order to load and resolve extern crates we need to support detection
of node_id is a crate in order to support paths outside of the current
crate.
Co-authored-by: Philip Herron <philip.herron@embecosm.com>