summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.cpp
diff options
context:
space:
mode:
authorAndrew Gozillon <Andrew.Gozillon@amd.com>2023-04-24 09:46:03 -0500
committerAndrew Gozillon <Andrew.Gozillon@amd.com>2023-04-24 10:06:21 -0500
commit2e634367be6a2ed6b8a4ee5c29b720dd90c0d70a (patch)
tree798cdc22286454e3588deacfb5f19103b2a6b8c2 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.cpp
parentebd6b5dc6426c5a759d9ed588fe6b972319736ff (diff)
[Flang][OpenMP][Driver][MLIR] Port fopenmp-host-ir-file-path flag and add MLIR module attribute to proliferate to OpenMP IR lowering
This patch ports the fopenmp-host-ir-file-path flag from Clang to Flang-new, this flag is added by the driver to the device pass when doing two phase compilation (device + host). This flag is then applied to the module when compiling during the OpenMP device phase. This file can then be utilised during lowering of the OpenMP dialect to LLVM-IR, which allows the device and host to maintain 1:1 mapping of OpenMP metadata for variables during lowering via the OpenMPIRBuilders loadOffloadInfoMetadata facilities (which is used for declare target and I believe target regions as well). Reviewer: awarzynski Differential Revision: https://reviews.llvm.org/D148038
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedPlatformPythonInterface.cpp')
0 files changed, 0 insertions, 0 deletions