64-bit AIX requires DWARF64 format, which was only introduced in DWARF v3. DWARF v2 only supports 32-bit DWARF format, making it incompatible with 64-bit AIX (the compiler throws a fatal error). These changes split DWARF v2 tests into separate files that exclude 64-bit AIX targets while still running on 32-bit AIX and other 64-bit platforms where DWARF v2 is supported.
11 lines
576 B
LLVM
11 lines
576 B
LLVM
; xfail this test on hexagon because at O2, instructions are bundled in packets
|
|
; and DW_OP_lit13 is correctly omitted.
|
|
; XFAIL: target=hexagon-{{.*}}
|
|
|
|
; This file contains the dwarf-version=2 tests extracted from incorrect-variable-debugloc1.ll.
|
|
; DWARF v2 is incompatible with 64-bit XCOFF/AIX (requires DWARF64 format which needs DWARF v3+).
|
|
|
|
; UNSUPPORTED: target=powerpc64{{.*}}-aix{{.*}}
|
|
|
|
; RUN: %llc_dwarf -O2 -dwarf-version 2 -filetype=obj < %S/incorrect-variable-debugloc1.ll | llvm-dwarfdump - | FileCheck %S/incorrect-variable-debugloc1.ll --check-prefix=DWARF23
|