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

Adrian Prantl via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jan 31 08:51:56 PST 2018


aprantl requested changes to this revision.
aprantl added a comment.
This revision now requires changes to proceed.

The correct way to fix this is to generate the stack object unconditionally (it will get optimized away by mem2reg when optimizations are enabled) and only emit the dbg.declare when -g is present.


https://reviews.llvm.org/D41698





More information about the cfe-commits mailing list