diff options
| author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-02-15 07:37:47 -0600 |
|---|---|---|
| committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-02-15 07:39:59 -0600 |
| commit | 861764b1c5f7fc31601655f01d84407d42013c30 (patch) | |
| tree | 95eefa191d07c919d4a4fc02ed921fb9bd914e89 /lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h | |
| parent | 15b90805bcb8a567525a0a3605904f3ea59490dd (diff) | |
| download | llvm-861764b1c5f7fc31601655f01d84407d42013c30.zip llvm-861764b1c5f7fc31601655f01d84407d42013c30.tar.gz llvm-861764b1c5f7fc31601655f01d84407d42013c30.tar.bz2 | |
[NVPTX] Fix NVPTX output name in the driver with `-save-temps`
Summary:
Currently, OpenMP and direct compilation uses an NVPTX toolchain to
directly invoke the CUDA tools from Clang to do the assembling and
linking of NVPTX codes. This breaks under `-save-temps` because of a
workaround. The `nvlink` linker does not accept `.o` files, so we need
to be selective when we output these. The previous logic keyed off of
presense in the temp files and wasn't a great solution. Change this to
just query the input args for `-c` to see if we stop at the assembler.
Fixes https://github.com/llvm/llvm-project/issues/60767
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/SWIGPythonBridge.h')
0 files changed, 0 insertions, 0 deletions
