llvm/test/DebugInfo/dwarfdump-dwp.test
David Blaikie c65ca6797f Mostly revert 252842 due to failures on some buildbots.
I imagine there's some UB in here somewhere, though Valgrind doesn't
seem to have picked it up (not sure if I have a working asan build right
now to test there).

GDB bot seems to be crashing:
http://lab.llvm.org:8011/builders/clang-x86_64-ubuntu-gdb-75/builds/26267/steps/check-all/logs/FAIL%3A%20LLVM%3A%3Adwarfdump-dwp.test

Hexagon ELF bot is, presumably, just getting different output:
http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/32927/steps/check-all/logs/FAIL%3A%20LLVM%3A%3Adwarfdump-dwp.test

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@252859 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-12 06:33:14 +00:00

26 lines
592 B
Plaintext

RUN: llvm-dwarfdump %p/Inputs/dwarfdump-dwp.x86_64.o | FileCheck %s
; Testing the following simple dwp file:
; a.cpp:
; struct foo { };
; foo a;
; b.cpp:
; struct bar { };
; bar b;
; CHECK: .debug_cu_index contents:
; CHECK-NEXT: Index header:
; CHECK-NEXT: version: 2
; CHECK-NEXT: columns: 4
; CHECK-NEXT: units: 2
; CHECK-NEXT: buckets: 16
; CHECK: .debug_tu_index contents:
; CHECK-NEXT: Index header:
; CHECK-NEXT: version: 2
; CHECK-NEXT: columns: 4
; CHECK-NEXT: units: 2
; CHECK-NEXT: buckets: 16
; TODO: use the index section offset info to correctly dump debug_info