[all-commits] [llvm/llvm-project] 6c9559: DebugInfo: Mangle K&R declarations for debug info ...
David Blaikie via All-commits
all-commits at lists.llvm.org
Tue Jul 6 16:28:19 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6c9559b67b91966bfeff9e17808a3e84a92e64a0
https://github.com/llvm/llvm-project/commit/6c9559b67b91966bfeff9e17808a3e84a92e64a0
Author: David Blaikie <dblaikie at gmail.com>
Date: 2021-07-06 (Tue, 06 Jul 2021)
Changed paths:
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
A clang/test/CodeGen/overloadable-debug.c
M clang/test/CodeGen/unique-internal-linkage-names-dwarf.c
Log Message:
-----------
DebugInfo: Mangle K&R declarations for debug info linkage names
This fixes a gap in the `overloadable` attribute support (K&R declared
functions would get mangled symbol names, but that name wouldn't be
represented in the debug info linkage name field for the function) and
in -funique-internal-linkage-names (this came up in review discussion on
D98799) where K&R static declarations would not get the uniqued linkage
names.
More information about the All-commits
mailing list