[PATCH] D25373: Fix for Bug 30639: CGDebugInfo Null dereference with OpenMP array access

Erich Keane via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 09:09:20 PDT 2016


erichkeane added a comment.

Andrey-
It seems that getVariableArrayDecayedType and getCanonicalParamType return the same type in this case (at least in the reproduction).  I could definitely change the call, though the changes to CGDebugInfo.cpp are apparently also necessary even in that case.

Is there additional logic that should happen in CGStmtOpenMP that I'm missing?


Repository:
  rL LLVM

https://reviews.llvm.org/D25373





More information about the cfe-commits mailing list