diff options
author | Guojin <he.guojin@gmail.com> | 2025-01-29 11:09:18 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-29 17:09:18 +0100 |
commit | 4fc514af516f9434bf5ba3de404943a1f92817f7 (patch) | |
tree | ec307c964f95e740a92de4b829ac7bd2192d3e6c /llvm/lib/Object | |
parent | 382d3599c203573388b82717dc17e3db4039916a (diff) | |
download | llvm-4fc514af516f9434bf5ba3de404943a1f92817f7.zip llvm-4fc514af516f9434bf5ba3de404943a1f92817f7.tar.gz llvm-4fc514af516f9434bf5ba3de404943a1f92817f7.tar.bz2 |
[MLIR][LLVM] Fix import of dso_local attribute (#124822)
The import of LLVM IR should use is isDSOLocal instead of
hasLocalLinkage to set the dso_local attribute.
Without this change, function definitions that mostly have external
linkage would be missing dso_local attribute during translation.
---------
Co-authored-by: Tobias Gysi <tobias.gysi@nextsilicon.com>
Diffstat (limited to 'llvm/lib/Object')
0 files changed, 0 insertions, 0 deletions