[llvm-jitlink] Rename -show-graph option to -show-graphs, make it a regex.
authorLang Hames <lhames@gmail.com>
Fri, 24 Mar 2023 21:43:32 +0000 (14:43 -0700)
committerLang Hames <lhames@gmail.com>
Fri, 24 Mar 2023 23:05:51 +0000 (16:05 -0700)
commit01bdd8cffcaf97636b5fb6ee4933e62c872528d3
tree0772636872c51eb4cac1deaf7da73b5dda2944cf
parent0430324289f2f0206a03a124b86eece8d007b09e
[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.
12 files changed:
llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_associative_dead_strip.test
llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_associative_no_dead_strip.test
llvm/test/ExecutionEngine/JITLink/X86/COFF_comdat_weak_duplicate.s
llvm/test/ExecutionEngine/JITLink/X86/COFF_label.test
llvm/test/ExecutionEngine/JITLink/X86/COFF_pdata_no_strip.s
llvm/test/ExecutionEngine/JITLink/X86/COFF_pdata_strip.s
llvm/test/ExecutionEngine/JITLink/X86/MachO-duplicate-local.test
llvm/test/ExecutionEngine/JITLink/X86/MachO_weak_local.s
llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_self_relocation.test
llvm/test/ExecutionEngine/JITLink/X86/MachO_x86-64_self_relocation_exec.test
llvm/tools/llvm-jitlink/llvm-jitlink.cpp
llvm/tools/llvm-jitlink/llvm-jitlink.h