[llvm] [XCOFF] Use RLDs to print branches even without -r (PR #74342)

via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 6 02:24:40 PST 2023


================
@@ -2013,6 +2023,29 @@ disassembleObject(ObjectFile &Obj, const ObjectFile &DbgObj,
           }
         }
 
+        auto findRel = [&]() {
+          // Hexagon handles relocs in pretty printer
+          if (Obj.getArch() == Triple::hexagon)
+            return false;
----------------
EsmeYi wrote:

There is no need to put the check in findRel().

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


More information about the llvm-commits mailing list