[llvm] Remove the assertion to unblock breakages (PR #88035)

Lei Wang via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 9 14:41:34 PDT 2024


wlei-llvm wrote:


> 
> What should happen in that case? Is the test warranted?

Before we expect a consistency(the assertion) between the mismatch state computed in pre-link and attr used in post-link, but because of this "issue", we understand that  attr is not always equal to the pre-link state. Now I think we may just live with this, for local symbol, just use the original state, attr is only used when original state is missing(imported function). 

Sorry for my bad linker knowledge, I thought the inconsistency was from the replacement of definition. 

https://github.com/llvm/llvm-project/pull/88035


More information about the llvm-commits mailing list