[all-commits] [llvm/llvm-project] d283fc: [DebugInfo] Use SplitTemplateClosers (foo<bar<baz>...
Sam McCall via All-commits
all-commits at lists.llvm.org
Thu May 28 03:31:03 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d283fc4f9d07a5f3334fe682ccabfc16e8d2933b
https://github.com/llvm/llvm-project/commit/d283fc4f9d07a5f3334fe682ccabfc16e8d2933b
Author: Sam McCall <sam.mccall at gmail.com>
Date: 2020-05-28 (Thu, 28 May 2020)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGenCXX/debug-info-template-explicit-specialization.cpp
M clang/test/Modules/ExtDebugInfo.cpp
M clang/test/Modules/ModuleDebugInfo.cpp
Log Message:
-----------
[DebugInfo] Use SplitTemplateClosers (foo<bar<baz> >) in DWARF too
Summary:
D76801 caused some regressions in debuginfo compatibility by changing how
certain functions were named.
For CodeView we try to mirror MSVC exactly: this was fixed in a549c0d00486
For DWARF the situation is murkier. Per David Blaikie:
> In general DWARF doesn't specify this at all.
> [...]
> This isn't the only naming divergence between GCC and Clang
Nevertheless, including the space seems to provide better compatibility with
GCC and GDB. E.g. cpexprs.cc in the GDB testsuite requires this formatting.
And there was no particular desire to change the printing of names in debug
info in the first place (just in diagnostics and other more user-facing text).
Fixes PR46052
Reviewers: dblaikie, labath
Subscribers: aprantl, cfe-commits, dyung
Tags: #clang
Differential Revision: https://reviews.llvm.org/D80554
More information about the All-commits
mailing list