[all-commits] [llvm/llvm-project] a549c0: Fix template class debug info for Visual Studio vi...
amccarth-google via All-commits
all-commits at lists.llvm.org
Wed May 13 14:20:57 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a549c0d00486bf01cb485e343d778fe4a3649a43
https://github.com/llvm/llvm-project/commit/a549c0d00486bf01cb485e343d778fe4a3649a43
Author: Adrian McCarthy <amccarth at google.com>
Date: 2020-05-13 (Wed, 13 May 2020)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGenCXX/debug-info-codeview-display-name.cpp
Log Message:
-----------
Fix template class debug info for Visual Studio visualizers
An earlier change eliminated spaces between the close brackets of nested
template lists. Unfortunately that prevents the Windows debuggers from
matching some types to their corresponding visualizers (e.g., std::map).
This selects the SeparateTemplateClosers flag when generating CodeView.
Note that we were already making formatting adjustments under similar
circumstances for similar reasons.
This wasn't caught by existing tests because they were using only
-std=c++98.
Differential Revision: https://reviews.llvm.org/D79274
More information about the All-commits
mailing list