diff options
author | Michael Klemm <michael.klemm@amd.com> | 2025-03-13 15:50:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-13 15:50:37 +0100 |
commit | 28ffa7f6a4d609e097a4861090f42c35459e9303 (patch) | |
tree | db53e4c17730e0b572f779601dc97691de374124 /flang/lib/Frontend/CompilerInvocation.cpp | |
parent | 237a9108190dbdd172175f914b28757345dbed76 (diff) | |
download | llvm-28ffa7f6a4d609e097a4861090f42c35459e9303.zip llvm-28ffa7f6a4d609e097a4861090f42c35459e9303.tar.gz llvm-28ffa7f6a4d609e097a4861090f42c35459e9303.tar.bz2 |
[flang][OpenMP] Fix missing missing inode issue (#130798)
When outlining an offload region, Flang creates a unique name by
querying an inode ID. However, when the name of the actual source file
does not match the logical file in a `#line` preprocessor directive,
code-gen was failing as it could not determine the inode ID. This PR
checks for this condition and if the logical file name does not exist,
the inode is replaced with a hash value created from the source code
itself.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions