Skip to content
  • hjk's avatar
    Debugger: Add a workaround for bad gcc debug info generation · 53ff0e1c
    hjk authored
    Gcc does not write out full type names with 'using template ...', see
    https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80466
    
    
    
    This is in most cases harmless for Creator as dumpers are triggered
    independently of template arguments. However, if the dumper takes
    different code path based on the template argument type, as is
    e.g. needed for std::vector<bool>, wrong results are produced,
    as the type cache only used the template base name as type id.
    
    Work around by mangling the id of the un-typedef-ed type into
    the type id of a typedef, which, in case of templates contain
    the full parameter list.
    
    Change-Id: I63c59cccdc186b09ff780e9dfd57b0ad668ae98f
    Reviewed-by: default avatarChristian Stenger <christian.stenger@qt.io>
    53ff0e1c