Originally committed in:
552a8fe12bd1822f48dda2e9e8728a179f82d356
Reverted in:
f75301d16d444d8cb6810d679290df744bc79ec7
Reverted because it was running llc directly (rather than %llc_dwarf)
which uses COFF files on Windows which LLVM doesn't support all DWARF
features in.
This functionality isn't fully working, but sets up the testing for a
follow-on patch that demonstrates and fixes the brokenness related to
DWO ID hashing this construct.
-; RUN: %llc_dwarf -dwarf-version=5 -filetype=obj -O0 < %s \
+; RUN: %llc_dwarf -filetype=obj < %s \
+; RUN: | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
+; RUN: %llc_dwarf -split-dwarf-file=foo.dwo -filetype=obj < %s \
; RUN: | llvm-dwarfdump -debug-info -debug-loclists - | FileCheck %s
; CHECK: 0x{{0*}}[[TYPE:.*]]: DW_TAG_base_type