[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
Wed Jun 19 16:52:27 PDT 2019


akhuang updated this revision to Diff 205712.
akhuang marked 2 inline comments as done.
akhuang added a comment.
Herald added a subscriber: javed.absar.

- fix alignment of pointer in inalloca case
- make existing tests stop failing by changing some and adding a check for existing return value alloca (I think?) before adding the ReturnValuePointer alloca


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/CGDebugInfo.h
  clang/lib/CodeGen/CGDecl.cpp
  clang/lib/CodeGen/CodeGenFunction.cpp
  clang/lib/CodeGen/CodeGenFunction.h
  clang/test/CodeGen/arm64-microsoft-arguments.cpp
  clang/test/CodeGenCXX/conditional-gnu-ext.cpp
  clang/test/CodeGenCXX/debug-info-nrvo.cpp
  clang/test/CodeGenCXX/lambda-expressions.cpp
  clang/test/CodeGenObjC/objc-non-trivial-struct-nrvo.m
  debuginfo-tests/nrvo-string.cpp
  debuginfo-tests/win_cdb/nrvo.cpp
  llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  llvm/test/DebugInfo/COFF/nrvo.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D63361.205712.patch
Type: text/x-patch
Size: 23582 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190619/e844dea1/attachment-0001.bin>


More information about the cfe-commits mailing list