[OpenMP] Include the executable name in the temporary files
authorJoseph Huber <jhuber6@vols.utk.edu>
Tue, 18 Jan 2022 15:56:12 +0000 (10:56 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 1 Feb 2022 04:11:42 +0000 (23:11 -0500)
commit58dc981e082df9db2de1cbd867fa6d73e8eea214
treeb2878eb6a1076ba02d8d5965bf24bd7eb1920b24
parentbf499c58af3d3a96661f5c7ef81b264eac575541
[OpenMP] Include the executable name in the temporary files

Summary:
This parses the executable name out of the linker arguments so we can
use it to give more informative temporary file names and so we don't
accidentally use it for device linking.
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp