[llvm] [Bolt] fix a wrong relocation update issue with weak references (PR #69136)

Vladislav Khmelevsky via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 14:04:15 PDT 2023


================
@@ -1974,6 +1974,14 @@ bool RewriteInstance::analyzeRelocation(
   if (!Relocation::isSupported(RType))
     return false;
 
+  auto isWeakReference = [](const SymbolRef &Symbol) {
----------------
yota9 wrote:

IsWeakUndReference

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


More information about the llvm-commits mailing list