[all-commits] [llvm/llvm-project] 01bdd8: [llvm-jitlink] Rename -show-graph option to -show-...

lhames via All-commits all-commits at lists.llvm.org
Fri Mar 24 16:06:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 01bdd8cffcaf97636b5fb6ee4933e62c872528d3
      https://github.com/llvm/llvm-project/commit/01bdd8cffcaf97636b5fb6ee4933e62c872528d3
  Author: Lang Hames <lhames at gmail.com>
  Date:   2023-03-24 (Fri, 24 Mar 2023)

  Changed paths:
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_associative_dead_strip.test
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_associative_no_dead_strip.test
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_weak_duplicate.s
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_label.test
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_pdata_no_strip.s
    M llvm/test/ExecutionEngine/JITLink/X86/COFF_pdata_strip.s
    M llvm/test/ExecutionEngine/JITLink/X86/MachO-duplicate-local.test
    M llvm/test/ExecutionEngine/JITLink/X86/MachO_weak_local.s
    M llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_self_relocation.test
    M llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_self_relocation_exec.test
    M llvm/tools/llvm-jitlink/llvm-jitlink.cpp
    M llvm/tools/llvm-jitlink/llvm-jitlink.h

  Log Message:
  -----------
  [llvm-jitlink] Rename -show-graph option to -show-graphs, make it a regex.

The original -show-graph option dumped the LinkGraph for all graphs loaded into
the session, but can make it difficult to see small graphs (e.g. reduced test
cases) among the surrounding larger files (especially the ORC runtime).

The new -show-graphs option takes a regex and dumps only those graphs matching
the regex. This allows testcases to specify exactly which graphs to dump.




More information about the All-commits mailing list