[all-commits] [llvm/llvm-project] 428583: [DebugInfo] Fix debug-info generation for block in...
Shafik Yaghmour via All-commits
all-commits at lists.llvm.org
Wed Feb 5 11:07:45 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 428583dd22fdc8f789390822e7b8ef4a5534721d
https://github.com/llvm/llvm-project/commit/428583dd22fdc8f789390822e7b8ef4a5534721d
Author: shafik <syaghmour at apple.com>
Date: 2020-02-05 (Wed, 05 Feb 2020)
Changed paths:
M clang/lib/CodeGen/CGDebugInfo.cpp
A clang/test/CodeGenCXX/debug-info-block-invocation-linkage-name.cpp
Log Message:
-----------
[DebugInfo] Fix debug-info generation for block invocations so that we set the LinkageName
Currently when generating debug-info for a BlockDecl we are setting the Name to the mangled name and not setting the LinkageName.
This means we see the mangled name for block invcations ends up in DW_AT_Name and not in DW_AT_linkage_name.
This patch fixes this case so that we also set the LinkageName as well.
Differential Revision: https://reviews.llvm.org/D73282
More information about the All-commits
mailing list