[PATCH] D63361: Pretend NRVO variables are references so they can be found by debug info
Amy Huang via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 18 09:57:20 PDT 2019
akhuang updated this revision to Diff 205382.
akhuang marked 2 inline comments as done.
akhuang added a comment.
Now creates a pointer to the return location in the function prolog, whenever sret is being used.
Also addressed some other comments.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D63361/new/
https://reviews.llvm.org/D63361
Files:
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CGDecl.cpp
clang/lib/CodeGen/CodeGenFunction.cpp
clang/lib/CodeGen/CodeGenFunction.h
debuginfo-tests/nrvo-string.cpp
llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63361.205382.patch
Type: text/x-patch
Size: 6380 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190618/bbbda600/attachment.bin>
More information about the cfe-commits
mailing list