[all-commits] [llvm/llvm-project] 63fe6d: lld/AMDGPU: Fix asserts if no object files are inv...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Apr 8 11:19:18 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 63fe6d7eae2991f6d1749a413a72c4f26a5a457f
https://github.com/llvm/llvm-project/commit/63fe6d7eae2991f6d1749a413a72c4f26a5a457f
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-04-08 (Fri, 08 Apr 2022)
Changed paths:
M lld/ELF/Arch/AMDGPU.cpp
M lld/ELF/SyntheticSections.cpp
M lld/test/ELF/amdgpu-elf-flags.s
Log Message:
-----------
lld/AMDGPU: Fix asserts if no object files are involved in link
Fixes issue 47690. The reproduction steps produced a shared object
from clang directly, and then fed the shared object back into
lld. With no regular object files, this assert was hit. I'm not sure
if we need to or should be looking for equivalent fields in shared
objects.
More information about the All-commits
mailing list