[all-commits] [llvm/llvm-project] 2600a5: Linker: Disallow linking appending globals with di...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Wed Dec 21 19:15:14 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2600a58931d8d49f21a32fd69a844b76fc5cb0b2
https://github.com/llvm/llvm-project/commit/2600a58931d8d49f21a32fd69a844b76fc5cb0b2
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2022-12-21 (Wed, 21 Dec 2022)
Changed paths:
M llvm/lib/Linker/IRMover.cpp
A llvm/test/Linker/appending-global-err6.ll
Log Message:
-----------
Linker: Disallow linking appending globals with different addrspaces
The current appending linkage handling implicitly assumes this by
using a basic ConstantExpr::getBitCast to resolve type
mismatches. Avoid this edge case so we don't need to keep the type
mismatch replacement code around after opaque pointers.
More information about the All-commits
mailing list