summaryrefslogtreecommitdiff
path: root/src/tools/cplusplus-update-frontend/cplusplus-update-frontend.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-04-20 08:47:34 +0200
committerhjk <hjk@qt.io>2017-04-20 09:15:59 +0000
commit53ff0e1ca16140c0fa7f0de0c79f11919d4ae8be (patch)
treeeca27fc4459ea36631fcda2256186480acb7ba53 /src/tools/cplusplus-update-frontend/cplusplus-update-frontend.cpp
parente2be021cbac66ac416f7230db475468956fe6d31 (diff)
downloadqt-creator-53ff0e1ca16140c0fa7f0de0c79f11919d4ae8be.tar.gz
Debugger: Add a workaround for bad gcc debug info generation
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: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/tools/cplusplus-update-frontend/cplusplus-update-frontend.cpp')
0 files changed, 0 insertions, 0 deletions