1# This test checks if llvm-dwp can deduplicate tu units (v5).
2
3# RUN: llvm-mc -triple x86_64-unknown-linux %p/../Inputs/type_dedup_v5/a.s -filetype=obj -o %t-a.o \
4# RUN:         -split-dwarf-file=%t-a.dwo -dwarf-version=5
5# RUN: llvm-mc -triple x86_64-unknown-linux %p/../Inputs/type_dedup_v5/b.s -filetype=obj -o %t-b.o \
6# RUN:         -split-dwarf-file=%t-b.dwo -dwarf-version=5
7# RUN: llvm-dwp %t-a.dwo %t-b.dwo -o %t.dwp
8# RUN: llvm-dwarfdump -debug-tu-index %t.dwp | FileCheck %s
9
10# CHECK_DAG: .debug_tu_index contents:
11# CHECK: version = 5, units = 1, slots = 2
12