public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #819
@ 2022-06-08 11:54 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 11:54 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:bdfe6abe2b11e2ddad0b8c8a92b57297fdd73f6b

commit bdfe6abe2b11e2ddad0b8c8a92b57297fdd73f6b
Merge: 717b6da459b 67f4a371e5a
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Thu Nov 25 14:35:50 2021 +0000

    Merge #819
    
    819: Update legacy mangling of names r=philberty a=philberty
    
    In rust the mangling of names needs to handle cases such as qualified paths
    <&mut T as Deref>::deref. Assemblers cannot handle '&' and whitespace
    otherwise we will fail to assemble the functions, the legacy mangling
    scheme turns all reference's '&' into 'RF' and all whitespace into '$'
    this means we can mangle more complex canonical paths. Which are needed
    in order to support the deref operator overloading.
    
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/backend/rust-mangle.cc | 21 ++++++++++++++++++++-
 1 file changed, 20 insertions(+), 1 deletion(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 11:54 [gcc/devel/rust/master] Merge #819 Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).