blob: b43a75bcd0df32d0a644776e52a45fff81ff69e1 [file] [log] [blame]
# This test checks if llvm-dwp can deduplicate tu units (v5).
# RUN: llvm-mc -triple x86_64-unknown-linux %p/../Inputs/type_dedup_v5/a.s -filetype=obj -o %t-a.o \
# RUN: -split-dwarf-file=%t-a.dwo -dwarf-version=5
# RUN: llvm-mc -triple x86_64-unknown-linux %p/../Inputs/type_dedup_v5/b.s -filetype=obj -o %t-b.o \
# RUN: -split-dwarf-file=%t-b.dwo -dwarf-version=5
# RUN: llvm-dwp %t-a.dwo %t-b.dwo -o %t.dwp
# RUN: llvm-dwarfdump -debug-tu-index %t.dwp | FileCheck %s
# CHECK-DAG: .debug_tu_index contents:
# CHECK: version = 5, units = 1, slots = 2