[all-commits] [llvm/llvm-project] fc1812: [UniqueLinkageName] Use consistent checks when man...
Hongtao Yu via All-commits
all-commits at lists.llvm.org
Thu Mar 18 22:11:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fc1812a0ad757838b66aab57e1df720ec205a16a
https://github.com/llvm/llvm-project/commit/fc1812a0ad757838b66aab57e1df720ec205a16a
Author: Hongtao Yu <hoy at fb.com>
Date: 2021-03-18 (Thu, 18 Mar 2021)
Changed paths:
M clang/lib/AST/ItaniumMangle.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/test/CodeGen/unique-internal-linkage-names-dwarf.c
Log Message:
-----------
[UniqueLinkageName] Use consistent checks when mangling symbo linkage name and debug linkage name.
C functions may be declared and defined in different prototypes like below. This patch unifies the checks for mangling names in symbol linkage name emission and debug linkage name emission so that the two names are consistent.
static int go(int);
static int go(a) int a;
{
return a;
}
Test Plan:
Differential Revision: https://reviews.llvm.org/D98799
More information about the All-commits
mailing list