31 lines · plain
1# Test show2 3RUN: split-file %s %t4RUN: llvm-cgdata --show %t/show.cgtext | FileCheck %s5 6CHECK: Outlined hash tree:7CHECK-NEXT: Total Node Count: 38CHECK-NEXT: Terminal Node Count: 19CHECK-NEXT: Depth: 210 11# Convert the text file to the binary file12RUN: llvm-cgdata --convert --format binary %t/show.cgtext -o %t/show.cgdata13RUN: llvm-cgdata --show %t/show.cgdata | FileCheck %s14 15;--- show.cgtext16:outlined_hash_tree17---180:19 Hash: 0x020 Terminals: 021 SuccessorIds: [ 1 ]221:23 Hash: 0x124 Terminals: 025 SuccessorIds: [ 2 ]262:27 Hash: 0x228 Terminals: 329 SuccessorIds: [ ]30...31