[Issue 11696] C++ incorrect static member mangling

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Dec 6 01:50:53 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11696


Iain Buclaw <ibuclaw at ubuntu.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ibuclaw at ubuntu.com


--- Comment #1 from Iain Buclaw <ibuclaw at ubuntu.com> 2013-12-06 01:50:43 PST ---
G++ mangling process:

  mangled-name            : function_decl            (0x7f21d4fbd400)
  encoding                : function_decl            (0x7f21d4fbd400)
  name                    : function_decl            (0x7f21d4fbd400)
  nested-name             : function_decl            (0x7f21d4fbd400)
  prefix                  : record_type              (0x7f21d4fbf3f0)
  ++ find_substitution (record_type at 0x7f21d4fbf3f0)
  unqualified-name        : type_decl                (0x7f21d4fb8ac8)
  source-name             : identifier_node          (0x7f21d4fd0bb0)
  identifier              : CallExp                 
  ++ add_substitution (record_type at 0x7f21d4fbf3f0)
  ++ substitutions   S-1_ = CallExp (record_type at 0x7f21d4fbf3f0)
  unqualified-name        : function_decl            (0x7f21d4fbd400)
  source-name             : identifier_node          (0x7f21d4fd0c08)
  identifier              : factory                 
  bare-function-type      : function_type            (0x7f21d4fbf690)
  type                    : record_type              (0x7f21d4fbf150)
  ++ find_substitution (record_type at 0x7f21d4fbf150)
  name                    : type_decl                (0x7f21d4fb8958)
  unscoped-name           : type_decl                (0x7f21d4fb8958)
  unqualified-name        : type_decl                (0x7f21d4fb8958)
  source-name             : identifier_node          (0x7f21d4fd0b58)
  identifier              : Loc                     
  ++ add_substitution (record_type at 0x7f21d4fbf150)
  ++ substitutions   S-1_ = CallExp (record_type at 0x7f21d4fbf3f0)
                     S0_ = Loc (record_type at 0x7f21d4fbf150)
  type                    : pointer_type             (0x7f21d4fbf540)
  ++ find_substitution (pointer_type at 0x7f21d4fbf540)
  type                    : record_type              (0x7f21d4fbf0a8)
  ++ find_substitution (record_type at 0x7f21d4fbf0a8)
  name                    : type_decl                (0x7f21d4fb88a0)
  unscoped-name           : type_decl                (0x7f21d4fb88a0)
  unqualified-name        : type_decl                (0x7f21d4fb88a0)
  source-name             : identifier_node          (0x7f21d4fd0b00)
  identifier              : Expression              
  ++ add_substitution (record_type at 0x7f21d4fbf0a8)
  ++ substitutions   S-1_ = CallExp (record_type at 0x7f21d4fbf3f0)
                     S0_ = Loc (record_type at 0x7f21d4fbf150)
                     S1_ = Expression (record_type at 0x7f21d4fbf0a8)
  ++ add_substitution (pointer_type at 0x7f21d4fbf540)
  ++ substitutions   S-1_ = CallExp (record_type at 0x7f21d4fbf3f0)
                     S0_ = Loc (record_type at 0x7f21d4fbf150)
                     S1_ = Expression (record_type at 0x7f21d4fbf0a8)
                     S2_ = ??? (pointer_type at 0x7f21d4fbf540)
  type                    : pointer_type             (0x7f21d4fbf540)
  ++ find_substitution (pointer_type at 0x7f21d4fbf540)
  substitution            :                         
mangle_decl_string = '_ZN7CallExp7factoryE3LocP10ExpressionS2_'

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list