[PATCH] D41698: [DebugInfo] Enable debug information for C99 VLA types

Sander de Smalen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 30 09:53:35 PST 2018


sdesmalen updated this revision to Diff 131990.
sdesmalen marked 4 inline comments as done.
sdesmalen added a comment.
Herald added a subscriber: jholewinski.

- Changed return type of getVLASize() to a struct with named members.
- EmitDeclare and EmitDeclareOfAutoVariable now return a DILocalVariable* rather than it being returned in a pointer that was passed as default argument.


https://reviews.llvm.org/D41698

Files:
  lib/CodeGen/CGBlocks.cpp
  lib/CodeGen/CGDebugInfo.cpp
  lib/CodeGen/CGDebugInfo.h
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGExprScalar.cpp
  lib/CodeGen/CGOpenMPRuntime.cpp
  lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  lib/CodeGen/CGStmtOpenMP.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/debug-info-vla.c
  test/CodeGenCXX/debug-info-vla.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41698.131990.patch
Type: text/x-patch
Size: 22846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180130/837d36ef/attachment-0001.bin>


More information about the cfe-commits mailing list