[OpenMP] Bugfix: output file name drops the absolute path where full path is needed.
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 25 Sep 2017 21:25:38 +0000 (21:25 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 25 Sep 2017 21:25:38 +0000 (21:25 +0000)
commit5636f4b33aeeadd0f3f35f020d85de434482de63
tree3aa0d3c6e7b2ce5e06b710d45e77ae8b2d0cdf96
parentce9606dd4f675b207c51934020c36f4042014246
[OpenMP] Bugfix: output file name drops the absolute path where full path is needed.

Summary: When composing the output file name, the path to the file is being dropped. The full path is required.

Reviewers: Hahnfeld, ABataev, caomhin, carlo.bertolli, hfinkel, tra

Reviewed By: tra

Subscribers: hfinkel, tra, cfe-commits

Differential Revision: https://reviews.llvm.org/D37912

llvm-svn: 314156
clang/lib/Driver/ToolChains/Cuda.cpp
clang/test/Driver/openmp-offload-gpu.c