Hahnfeld added inline comments.

================
Comment at: lib/Driver/ToolChain.cpp:851
+      XOpenMPTargetArg->setBaseArg(A);
+      A = XOpenMPTargetArg.release();
+      DAL->append(A);
----------------
This is a memory leak that is currently triggered in 
`tests/Driver/openmp-offload-gpu.c` and found by ASan. How to fix this? I'm not 
really familiar with OptTable...


https://reviews.llvm.org/D34784



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D34784: [OpenMP] Ad... Jonas Hahnfeld via Phabricator via cfe-commits

Reply via email to