[llvm] [BOLT] support mold linker generated PLT in disassembling (PR #115256)

Patrick Zhang via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 10 22:09:29 PST 2024


================
@@ -1724,8 +1724,30 @@ void RewriteInstance::disassemblePLTSectionX86(BinarySection &Section,
       InstrOffset += InstrSize;
     }
 
-    if (InstrOffset + InstrSize > EntryOffset + EntrySize)
+    if (InstrOffset + InstrSize > EntryOffset + EntrySize) {
----------------
patrickphzhang wrote:

Thanks for your suggestion. I have implemented it based on my understanding.

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


More information about the llvm-commits mailing list