33 lines · plain
1# Test dump between the binary and text formats.2 3RUN: split-file %s %t4 5RUN: llvm-cgdata --convert --format binary %t/dump.cgtext -o %t/dump.cgdata6RUN: llvm-cgdata --convert --format text %t/dump.cgdata -o %t/dump-round.cgtext7RUN: llvm-cgdata -c -f binary %t/dump-round.cgtext -o %t/dump-round.cgdata8RUN: llvm-cgdata -c -f text %t/dump-round.cgtext -o %t/dump-round-round.cgtext9RUN: diff %t/dump.cgdata %t/dump-round.cgdata10RUN: diff %t/dump-round.cgtext %t/dump-round-round.cgtext11 12;--- dump.cgtext13# Outlined stable hash tree14:outlined_hash_tree15---160:17 Hash: 0x018 Terminals: 019 SuccessorIds: [ 1 ]201:21 Hash: 0x122 Terminals: 023 SuccessorIds: [ 2, 3 ]242:25 Hash: 0x326 Terminals: 527 SuccessorIds: [ ]283:29 Hash: 0x230 Terminals: 431 SuccessorIds: [ ]32...33