[llvm] [llvm-objdump] Add the --visualize-jumps option (PR #74858)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 14 01:01:46 PST 2023


================
@@ -1311,15 +1387,37 @@ collectLocalBranchTargets(ArrayRef<uint8_t> Bytes, MCInstrAnalysis *MIA,
       Size = std::min<uint64_t>(ThisBytes.size(),
                                 DisAsm->suggestBytesToSkip(ThisBytes, Index));
 
+    // Check for relocations which apply to this instruction.
+    bool Relocated = false;
+    while (RelCur != RelEnd) {
+      // FIXME RelAdjustment for executables & shared objects
----------------
jh7370 wrote:

Similar comment to the earlier TODOs/FIXME: will this be actioned in a follow-up PR?

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


More information about the llvm-commits mailing list