diff options
| author | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2022-02-04 14:19:23 -0500 |
|---|---|---|
| committer | Yaxun (Sam) Liu <yaxun.liu@amd.com> | 2022-02-08 21:58:40 -0500 |
| commit | 1d97cb1f6e44a77cfc6911b916656e3c5de9bec8 (patch) | |
| tree | c4c86ba381cd3708cc568accd03130f1125356f9 /lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py | |
| parent | cfe7f690367b9d2903f099162f0bcbbfd18c7610 (diff) | |
[HIP] Emit amdgpu_code_object_version module flag
code object version determines ABI, therefore should not be mixed.
This patch emits amdgpu_code_object_version module flag in LLVM IR
based on code object version (default 4).
The amdgpu_code_object_version value is code object version times 100.
LLVM IR with different amdgpu_code_object_version module flag cannot
be linked.
The -cc1 option -mcode-object-version=none is for ROCm device library use
only, which supports multiple ABI.
Reviewed by: Artem Belevich
Differential Revision: https://reviews.llvm.org/D119026
Diffstat (limited to 'lldb/test/API/functionalities/scripted_process/TestStackCoreScriptedProcess.py')
0 files changed, 0 insertions, 0 deletions
