Patchwork 8c/n: trans-mem: toplevel/misc changes (include/)

login
register
mail settings
Submitter Aldy Hernandez
Date Nov. 3, 2011, 6:24 p.m.
Message ID <4EB2DC7B.6050806@redhat.com>
Download mbox | patch
Permalink /patch/123487/
State New
Headers show

Comments

Aldy Hernandez - Nov. 3, 2011, 6:24 p.m.
2011-03-10  Richard Henderson  <rth@redhat.com>

         * demangle.h (enum gnu_v3_ctor_kinds): Add 
gnu_v3_object_ctor_group.
         (enum gnu_v3_dtor_kinds): Add gnu_v3_object_dtor_group.

2008-11-05  Richard Henderson  <rth@redhat.com>

         * demangle.h (DEMANGLE_COMPONENT_TRANSACTION_CLONE): New.
         (DEMANGLE_COMPONENT_NONTRANSACTION_CLONE): New.

Patch

Index: include/demangle.h
===================================================================
--- include/demangle.h	(.../trunk)	(revision 180744)
+++ include/demangle.h	(.../branches/transactional-memory)	(revision 180773)
@@ -172,7 +172,8 @@  ada_demangle (const char *mangled, int o
  enum gnu_v3_ctor_kinds {
    gnu_v3_complete_object_ctor = 1,
    gnu_v3_base_object_ctor,
-  gnu_v3_complete_object_allocating_ctor
+  gnu_v3_complete_object_allocating_ctor,
+  gnu_v3_object_ctor_group
  };

  /* Return non-zero iff NAME is the mangled form of a constructor name
@@ -186,7 +187,8 @@  extern enum gnu_v3_ctor_kinds
  enum gnu_v3_dtor_kinds {
    gnu_v3_deleting_dtor = 1,
    gnu_v3_complete_object_dtor,
-  gnu_v3_base_object_dtor
+  gnu_v3_base_object_dtor,
+  gnu_v3_object_dtor_group
  };

  /* Return non-zero iff NAME is the mangled form of a destructor name
@@ -401,6 +403,13 @@  enum demangle_component_type
    DEMANGLE_COMPONENT_DEFAULT_ARG,
    /* An unnamed type.  */
    DEMANGLE_COMPONENT_UNNAMED_TYPE,
+  /* A transactional clone.  This has one subtree, the encoding for
+     which it is providing alternative linkage.  */
+  DEMANGLE_COMPONENT_TRANSACTION_CLONE,
+  /* A non-transactional clone entry point.  In the i386/x86_64 abi,
+     the unmangled symbol of a tm_callable becomes a thunk and the
+     non-transactional function version is mangled thus.  */
+  DEMANGLE_COMPONENT_NONTRANSACTION_CLONE,
    /* A pack expansion.  */
    DEMANGLE_COMPONENT_PACK_EXPANSION,
    /* A cloned function.  */