[PATCH] D43189: [DebugInfo] Avoid name conflict of generated VLA expression variable.

Sander de Smalen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 12 06:54:55 PST 2018


sdesmalen created this revision.
sdesmalen added reviewers: CarlosAlbertoEnciso, probinson, aprantl.
Herald added a subscriber: JDevlieghere.

This patch also adds the 'DW_AT_artificial' flag to the generated variable.


https://reviews.llvm.org/D43189

Files:
  lib/CodeGen/CGDecl.cpp
  test/CodeGen/debug-info-vla.c
  test/CodeGenCXX/debug-info-vla.cpp
  test/OpenMP/target_codegen.cpp
  test/OpenMP/target_parallel_codegen.cpp
  test/OpenMP/target_parallel_for_codegen.cpp
  test/OpenMP/target_parallel_for_simd_codegen.cpp
  test/OpenMP/target_simd_codegen.cpp
  test/OpenMP/target_teams_codegen.cpp
  test/OpenMP/target_teams_distribute_codegen.cpp
  test/OpenMP/target_teams_distribute_simd_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D43189.133850.patch
Type: text/x-patch
Size: 7313 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180212/fdd9ea37/attachment.bin>


More information about the cfe-commits mailing list