Parsing the argument after -Xopenmp-target allocates memory that needs
to be freed. Associate it with the final DerivedArgList after we know
which one will be used.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D38257
[OpenMP] Fix memory leak when translating arguments ClosedPublic Authored by Hahnfeld on Sep 25 2017, 2:09 PM.
Details Summary Parsing the argument after -Xopenmp-target allocates memory that needs
Diff Detail Event TimelineHahnfeld added a child revision: D38258: [OpenMP] Fix passing of -m arguments to device toolchain.Sep 25 2017, 2:11 PM This revision is now accepted and ready to land.Sep 27 2017, 7:37 AM Closed by commit rL314328: [OpenMP] Fix memory leak when translating arguments (authored by Hahnfeld). · Explain WhySep 27 2017, 11:14 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 116607 include/clang/Driver/ToolChain.h
lib/Driver/Compilation.cpp
lib/Driver/ToolChain.cpp
test/Driver/openmp-offload-gpu.c
|