[OPENMP]Fix PR48759: "fatal error" when compile with preprocessed file.
authorAlexey Bataev <a.bataev@outlook.com>
Thu, 4 Mar 2021 14:03:53 +0000 (06:03 -0800)
committerAlexey Bataev <a.bataev@outlook.com>
Thu, 4 Mar 2021 15:26:57 +0000 (07:26 -0800)
commit711179b5816a65eccad22a7111494d609b899fb2
treeacea9fd6643d2cda53bec9fc04740c919eac4551
parent53c8587dcdbcd3ec6e8a0b0cca9ba231b576e1ba
[OPENMP]Fix PR48759:  "fatal error" when compile with preprocessed file.

If the file in line directive does not exist on the system we need, to
use the original file to get its file id.

Differential Revision: https://reviews.llvm.org/D97945
clang/lib/CodeGen/CGOpenMPRuntime.cpp
clang/test/OpenMP/target_unknown_file.cpp [new file with mode: 0644]