Index: llvm/test/Bindings/OCaml/executionengine.ml =================================================================== --- llvm/test/Bindings/OCaml/executionengine.ml +++ llvm/test/Bindings/OCaml/executionengine.ml @@ -3,7 +3,7 @@ * RUN: %t/executable * RUN: %ocamlopt -g -w +A -package llvm.executionengine -linkpkg %t/executionengine.ml -o %t/executable * RUN: %t/executable - * REQUIRES: native, object-emission + * REQUIRES: native * XFAIL: vg_leak *) Index: llvm/test/CodeGen/Generic/dwarf-md5.ll =================================================================== --- llvm/test/CodeGen/Generic/dwarf-md5.ll +++ llvm/test/CodeGen/Generic/dwarf-md5.ll @@ -1,7 +1,6 @@ ; MD5 checksums provided by IR should be passed through to asm. ; They'll be emitted to an object file only for DWARF 5 or later. -; REQUIRES: object-emission ; RUN: %llc_dwarf -dwarf-version 4 -filetype=asm -o - %s | FileCheck %s --check-prefix=ASM-4 ; RUN: %llc_dwarf -dwarf-version 5 -filetype=asm -o - %s | FileCheck %s --check-prefix=ASM-5 ; RUN: %llc_dwarf -dwarf-version 4 -filetype=obj -o %t4.o %s Index: llvm/test/CodeGen/Generic/dwarf-source.ll =================================================================== --- llvm/test/CodeGen/Generic/dwarf-source.ll +++ llvm/test/CodeGen/Generic/dwarf-source.ll @@ -1,7 +1,6 @@ ; Source text provided by IR should be passed through to asm. ; It is emitted to an object file only for DWARF 5 or later. -; REQUIRES: object-emission ; RUN: %llc_dwarf -dwarf-version 4 -filetype=asm -o - %s | FileCheck %s --check-prefix=ASM-4 ; RUN: %llc_dwarf -dwarf-version 5 -filetype=asm -o - %s | FileCheck %s --check-prefix=ASM-5 ; RUN: %llc_dwarf -dwarf-version 4 -filetype=obj -o %t4.o %s Index: llvm/test/DebugInfo/AArch64/struct_by_value.ll =================================================================== --- llvm/test/DebugInfo/AArch64/struct_by_value.ll +++ llvm/test/DebugInfo/AArch64/struct_by_value.ll @@ -1,6 +1,5 @@ ; A by-value struct is a register-indirect value (breg). ; RUN: llc %s -filetype=obj -o - | llvm-dwarfdump - | FileCheck %s -; REQUIRES: object-emission ; Test that the 'f' parameter is present, with a location, and that the ; expression for the location contains a DW_OP_breg Index: llvm/test/DebugInfo/ARM/bitfield.ll =================================================================== --- llvm/test/DebugInfo/ARM/bitfield.ll +++ llvm/test/DebugInfo/ARM/bitfield.ll @@ -1,6 +1,5 @@ ; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s ; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s -; REQUIRES: object-emission ; ; Generated from: ; struct { Index: llvm/test/DebugInfo/ARM/float-args.ll =================================================================== --- llvm/test/DebugInfo/ARM/float-args.ll +++ llvm/test/DebugInfo/ARM/float-args.ll @@ -1,6 +1,5 @@ ; RUN: %llc_dwarf -filetype=obj -mattr=+vfp2 -float-abi=hard < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; RUN: %llc_dwarf -filetype=obj -mattr=-vfp2 -float-abi=soft < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang -O1 -g from the following C source: ; float foo(float p) { Index: llvm/test/DebugInfo/ARM/split-complex.ll =================================================================== --- llvm/test/DebugInfo/ARM/split-complex.ll +++ llvm/test/DebugInfo/ARM/split-complex.ll @@ -1,6 +1,5 @@ ; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s ; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s -; REQUIRES: object-emission target datalayout = "e-m:o-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "thumbv7-apple-unknown-macho" Index: llvm/test/DebugInfo/ARM/sroa-complex.ll =================================================================== --- llvm/test/DebugInfo/ARM/sroa-complex.ll +++ llvm/test/DebugInfo/ARM/sroa-complex.ll @@ -1,5 +1,4 @@ ; RUN: opt -sroa -S -o - %s | FileCheck %s -; REQUIRES: object-emission target datalayout = "e-m:o-p:32:32-i64:64-v128:64:128-a:0:32-n32-S64" target triple = "thumbv7-apple-unknown-macho" Index: llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll =================================================================== --- llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll +++ llvm/test/DebugInfo/Generic/2010-04-06-NestedFnDbgInfo.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj -o - < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Radar 7833483 ; Do not emit a separate out-of-line definition DIE for the function-local 'foo' Index: llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll =================================================================== --- llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll +++ llvm/test/DebugInfo/Generic/2010-05-10-MultipleCU.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; Check that two compile units are generated Index: llvm/test/DebugInfo/Generic/DICommonBlock.ll =================================================================== --- llvm/test/DebugInfo/Generic/DICommonBlock.ll +++ llvm/test/DebugInfo/Generic/DICommonBlock.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s ; CHECK: DW_TAG_common_block Index: llvm/test/DebugInfo/Generic/PR20038.ll =================================================================== --- llvm/test/DebugInfo/Generic/PR20038.ll +++ llvm/test/DebugInfo/Generic/PR20038.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; For some reason, the output when targetting sparc is not quite as expected. ; XFAIL: sparc Index: llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll =================================================================== --- llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll +++ llvm/test/DebugInfo/Generic/accel-table-hash-collisions.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Apple -filetype=obj -o - < %s \ ; RUN: | llvm-dwarfdump -apple-names - | FileCheck %s Index: llvm/test/DebugInfo/Generic/address_space_rvalue.ll =================================================================== --- llvm/test/DebugInfo/Generic/address_space_rvalue.ll +++ llvm/test/DebugInfo/Generic/address_space_rvalue.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; This nonsensical example tests that address spaces for rvalue Index: llvm/test/DebugInfo/Generic/constant-pointers.ll =================================================================== --- llvm/test/DebugInfo/Generic/constant-pointers.ll +++ llvm/test/DebugInfo/Generic/constant-pointers.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Ensure that pointer constants are emitted as unsigned data. Alternatively, Index: llvm/test/DebugInfo/Generic/containing-type-extension.ll =================================================================== --- llvm/test/DebugInfo/Generic/containing-type-extension.ll +++ llvm/test/DebugInfo/Generic/containing-type-extension.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/cross-cu-inlining.ll =================================================================== --- llvm/test/DebugInfo/Generic/cross-cu-inlining.ll +++ llvm/test/DebugInfo/Generic/cross-cu-inlining.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck -implicit-check-not=DW_TAG %s ; RUN: %llc_dwarf -accel-tables=Apple -dwarf-linkage-names=All -O0 -filetype=obj < %s | llvm-dwarfdump -v - | FileCheck --check-prefix=CHECK-ACCEL --check-prefix=CHECK %s Index: llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll =================================================================== --- llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll +++ llvm/test/DebugInfo/Generic/cross-cu-linkonce-distinct.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Testing that two distinct (distinct by writing them in separate files, while Index: llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll =================================================================== --- llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll +++ llvm/test/DebugInfo/Generic/cross-cu-linkonce.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Built from source: Index: llvm/test/DebugInfo/Generic/cu-range-hole.ll =================================================================== --- llvm/test/DebugInfo/Generic/cu-range-hole.ll +++ llvm/test/DebugInfo/Generic/cu-range-hole.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj %s -o %t ; RUN: llvm-dwarfdump %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/cu-ranges.ll =================================================================== --- llvm/test/DebugInfo/Generic/cu-ranges.ll +++ llvm/test/DebugInfo/Generic/cu-ranges.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj %s -o %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/dead-argument-order.ll =================================================================== --- llvm/test/DebugInfo/Generic/dead-argument-order.ll +++ llvm/test/DebugInfo/Generic/dead-argument-order.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Built from the following source with clang -O1 Index: llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll +++ llvm/test/DebugInfo/Generic/debug-info-qualifiers.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; Test (r)value qualifiers on C++11 non-static member functions. ; Generated from tools/clang/test/CodeGenCXX/debug-info-qualifiers.cpp ; Index: llvm/test/DebugInfo/Generic/debug-names-empty-cu.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-empty-cu.ll +++ llvm/test/DebugInfo/Generic/debug-names-empty-cu.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/debug-names-empty-name.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-empty-name.ll +++ llvm/test/DebugInfo/Generic/debug-names-empty-name.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -debugger-tune=lldb -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -find=_GLOBAL__sub_I__ %t | FileCheck --check-prefix=INFO %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck --check-prefix=NAMES %s Index: llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll +++ llvm/test/DebugInfo/Generic/debug-names-hash-collisions.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/debug-names-index-type.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-index-type.ll +++ llvm/test/DebugInfo/Generic/debug-names-index-type.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll +++ llvm/test/DebugInfo/Generic/debug-names-linkage-name.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; Generate one file with all linkage names, and another with only abstract ones. ; Then test both. ; RUN: %llc_dwarf -accel-tables=Dwarf -dwarf-linkage-names=All -filetype=obj -o %t.All < %s Index: llvm/test/DebugInfo/Generic/debug-names-many-cu.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-many-cu.ll +++ llvm/test/DebugInfo/Generic/debug-names-many-cu.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll +++ llvm/test/DebugInfo/Generic/debug-names-name-collisions.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -dwarf-linkage-names=All -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/debug-names-one-cu.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-one-cu.ll +++ llvm/test/DebugInfo/Generic/debug-names-one-cu.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/debug-names-two-cu.ll =================================================================== --- llvm/test/DebugInfo/Generic/debug-names-two-cu.ll +++ llvm/test/DebugInfo/Generic/debug-names-two-cu.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -accel-tables=Dwarf -filetype=obj -o %t < %s ; RUN: llvm-dwarfdump -debug-names %t | FileCheck %s ; RUN: llvm-dwarfdump -debug-names -verify %t | FileCheck --check-prefix=VERIFY %s Index: llvm/test/DebugInfo/Generic/def-line.ll =================================================================== --- llvm/test/DebugInfo/Generic/def-line.ll +++ llvm/test/DebugInfo/Generic/def-line.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s ; Given the following source, ensure that the decl_line/file is correctly Index: llvm/test/DebugInfo/Generic/discriminated-union.ll =================================================================== --- llvm/test/DebugInfo/Generic/discriminated-union.ll +++ llvm/test/DebugInfo/Generic/discriminated-union.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/discriminator.ll =================================================================== --- llvm/test/DebugInfo/Generic/discriminator.ll +++ llvm/test/DebugInfo/Generic/discriminator.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -debug-info - | FileCheck %s ; Given the following source, ensure that the discriminator is emitted for Index: llvm/test/DebugInfo/Generic/dwarf-public-names.ll =================================================================== --- llvm/test/DebugInfo/Generic/dwarf-public-names.ll +++ llvm/test/DebugInfo/Generic/dwarf-public-names.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -debugger-tune=gdb -filetype=obj -o %t.o < %s ; RUN: llvm-dwarfdump -debug-pubnames %t.o | FileCheck %s ; ModuleID = 'dwarf-public-names.cpp' Index: llvm/test/DebugInfo/Generic/empty.ll =================================================================== --- llvm/test/DebugInfo/Generic/empty.ll +++ llvm/test/DebugInfo/Generic/empty.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck %s ; RUN: %llc_dwarf -split-dwarf-file=foo.dwo < %s -filetype=obj | llvm-dwarfdump -v - | FileCheck --check-prefix=FISSION %s Index: llvm/test/DebugInfo/Generic/enum-types.ll =================================================================== --- llvm/test/DebugInfo/Generic/enum-types.ll +++ llvm/test/DebugInfo/Generic/enum-types.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; ; RUN: %llc_dwarf -filetype=obj -O0 -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s Index: llvm/test/DebugInfo/Generic/enum.ll =================================================================== --- llvm/test/DebugInfo/Generic/enum.ll +++ llvm/test/DebugInfo/Generic/enum.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll =================================================================== --- llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll +++ llvm/test/DebugInfo/Generic/fortran-subprogram-attr.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; Test for DISPFlagPure, DISPFlagElement and DISPFlagRecursive. These ; three DISPFlags are used to attach DW_AT_pure, DW_AT_element, and ; DW_AT_recursive attributes to DW_TAG_subprogram DIEs. Index: llvm/test/DebugInfo/Generic/global.ll =================================================================== --- llvm/test/DebugInfo/Generic/global.ll +++ llvm/test/DebugInfo/Generic/global.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/gmlt.test =================================================================== --- llvm/test/DebugInfo/Generic/gmlt.test +++ llvm/test/DebugInfo/Generic/gmlt.test @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj < %S/../Inputs/gmlt.ll | llvm-dwarfdump -v - | FileCheck %S/../Inputs/gmlt.ll ; There's a darwin specific test in X86/gmlt, so it's okay to XFAIL this here. Index: llvm/test/DebugInfo/Generic/gmlt_profiling.ll =================================================================== --- llvm/test/DebugInfo/Generic/gmlt_profiling.ll +++ llvm/test/DebugInfo/Generic/gmlt_profiling.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj < %S/gmlt_profiling.ll | llvm-dwarfdump -v - | FileCheck %S/gmlt_profiling.ll ; CHECK: .debug_info Index: llvm/test/DebugInfo/Generic/imported-name-inlined.ll =================================================================== --- llvm/test/DebugInfo/Generic/imported-name-inlined.ll +++ llvm/test/DebugInfo/Generic/imported-name-inlined.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --implicit-check-not "{{DW_TAG|NULL}}" %s ; Generated from the following source: Index: llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll =================================================================== --- llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll +++ llvm/test/DebugInfo/Generic/incorrect-variable-debugloc.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O2 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; This is a test case that's as reduced as I can get it, though I haven't fully Index: llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll =================================================================== --- llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll +++ llvm/test/DebugInfo/Generic/incorrect-variable-debugloc1.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O2 -dwarf-version 2 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF23 ; RUN: %llc_dwarf -O2 -dwarf-version 3 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF23 ; RUN: %llc_dwarf -O2 -dwarf-version 4 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s --check-prefix=DWARF4 Index: llvm/test/DebugInfo/Generic/inline-scopes.ll =================================================================== --- llvm/test/DebugInfo/Generic/inline-scopes.ll +++ llvm/test/DebugInfo/Generic/inline-scopes.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; bool f(); Index: llvm/test/DebugInfo/Generic/inlined-arguments.ll =================================================================== --- llvm/test/DebugInfo/Generic/inlined-arguments.ll +++ llvm/test/DebugInfo/Generic/inlined-arguments.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/inlined-strings.ll =================================================================== --- llvm/test/DebugInfo/Generic/inlined-strings.ll +++ llvm/test/DebugInfo/Generic/inlined-strings.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s -dwarf-inlined-strings=Enable -o - | llvm-dwarfdump -show-form - | FileCheck %s ; Also test that the null streamer doesn't crash with debug info. Index: llvm/test/DebugInfo/Generic/linkage-name-abstract.ll =================================================================== --- llvm/test/DebugInfo/Generic/linkage-name-abstract.ll +++ llvm/test/DebugInfo/Generic/linkage-name-abstract.ll @@ -5,7 +5,6 @@ ; RUN: %llc_dwarf -O0 -filetype=obj -debugger-tune=sce < %s | llvm-dwarfdump -v -debug-info - > %t ; RUN: FileCheck %s -check-prefix=ONENAME < %t ; RUN: FileCheck %s -check-prefix=REF < %t -; REQUIRES: object-emission ; Verify that the only linkage-name present is the abstract origin of the ; inlined subprogram. Index: llvm/test/DebugInfo/Generic/lto-comp-dir.ll =================================================================== --- llvm/test/DebugInfo/Generic/lto-comp-dir.ll +++ llvm/test/DebugInfo/Generic/lto-comp-dir.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf < %s -filetype=obj | llvm-dwarfdump -debug-line - | FileCheck %s ; RUN: %llc_dwarf < %s -filetype=asm | FileCheck --check-prefix=ASM %s Index: llvm/test/DebugInfo/Generic/mainsubprogram.ll =================================================================== --- llvm/test/DebugInfo/Generic/mainsubprogram.ll +++ llvm/test/DebugInfo/Generic/mainsubprogram.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/member-order.ll =================================================================== --- llvm/test/DebugInfo/Generic/member-order.ll +++ llvm/test/DebugInfo/Generic/member-order.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; generated by clang from: Index: llvm/test/DebugInfo/Generic/member-pointers.ll =================================================================== --- llvm/test/DebugInfo/Generic/member-pointers.ll +++ llvm/test/DebugInfo/Generic/member-pointers.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; XFAIL: hexagon ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t Index: llvm/test/DebugInfo/Generic/missing-abstract-variable.ll =================================================================== --- llvm/test/DebugInfo/Generic/missing-abstract-variable.ll +++ llvm/test/DebugInfo/Generic/missing-abstract-variable.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Build from the following source with clang -O2. Index: llvm/test/DebugInfo/Generic/namespace.ll =================================================================== --- llvm/test/DebugInfo/Generic/namespace.ll +++ llvm/test/DebugInfo/Generic/namespace.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v - | FileCheck %s ; CHECK: debug_info contents ; CHECK: DW_AT_name{{.*}}= [[F1:.*]]) Index: llvm/test/DebugInfo/Generic/namespace_function_definition.ll =================================================================== --- llvm/test/DebugInfo/Generic/namespace_function_definition.ll +++ llvm/test/DebugInfo/Generic/namespace_function_definition.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Generated from clang with the following source: Index: llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll =================================================================== --- llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll +++ llvm/test/DebugInfo/Generic/namespace_inline_function_definition.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj -dwarf-linkage-names=All < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Generate from clang with the following source. Note that the definition of Index: llvm/test/DebugInfo/Generic/noscopes.ll =================================================================== --- llvm/test/DebugInfo/Generic/noscopes.ll +++ llvm/test/DebugInfo/Generic/noscopes.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump - | FileCheck %s ; Just because there are no scopes/locations on any instructions in the Index: llvm/test/DebugInfo/Generic/pass-by-value.ll =================================================================== --- llvm/test/DebugInfo/Generic/pass-by-value.ll +++ llvm/test/DebugInfo/Generic/pass-by-value.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; ; // S is not trivially copyable. Index: llvm/test/DebugInfo/Generic/ptrsize.ll =================================================================== --- llvm/test/DebugInfo/Generic/ptrsize.ll +++ llvm/test/DebugInfo/Generic/ptrsize.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/recursive_inlining.ll =================================================================== --- llvm/test/DebugInfo/Generic/recursive_inlining.ll +++ llvm/test/DebugInfo/Generic/recursive_inlining.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -filetype=obj -O0 < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; This isn't a very pretty test case - I imagine there might be other ways to Index: llvm/test/DebugInfo/Generic/restrict.ll =================================================================== --- llvm/test/DebugInfo/Generic/restrict.ll +++ llvm/test/DebugInfo/Generic/restrict.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -dwarf-version=2 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V2 %s ; RUN: %llc_dwarf -dwarf-version=3 -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=V3 %s Index: llvm/test/DebugInfo/Generic/string-offsets-form.ll =================================================================== --- llvm/test/DebugInfo/Generic/string-offsets-form.ll +++ llvm/test/DebugInfo/Generic/string-offsets-form.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -all -show-form -v - \ ; RUN: | FileCheck %s ; Index: llvm/test/DebugInfo/Generic/sugared-constants.ll =================================================================== --- llvm/test/DebugInfo/Generic/sugared-constants.ll +++ llvm/test/DebugInfo/Generic/sugared-constants.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Use correct signedness when emitting constants of derived (sugared) types. Index: llvm/test/DebugInfo/Generic/template-recursive-void.ll =================================================================== --- llvm/test/DebugInfo/Generic/template-recursive-void.ll +++ llvm/test/DebugInfo/Generic/template-recursive-void.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/thrownTypes.ll =================================================================== --- llvm/test/DebugInfo/Generic/thrownTypes.ll +++ llvm/test/DebugInfo/Generic/thrownTypes.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; CHECK: DW_TAG_subprogram Index: llvm/test/DebugInfo/Generic/tu-composite.ll =================================================================== --- llvm/test/DebugInfo/Generic/tu-composite.ll +++ llvm/test/DebugInfo/Generic/tu-composite.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s ; CHECK: [[TYPE:.*]]: DW_TAG_structure_type Index: llvm/test/DebugInfo/Generic/tu-member-pointer.ll =================================================================== --- llvm/test/DebugInfo/Generic/tu-member-pointer.ll +++ llvm/test/DebugInfo/Generic/tu-member-pointer.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -filetype=obj -O0 < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s ; CHECK: DW_TAG_ptr_to_member_type Index: llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll =================================================================== --- llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll +++ llvm/test/DebugInfo/Generic/two-cus-from-same-file.ll @@ -3,8 +3,6 @@ ; blow llc up and produces something reasonable. ; -; REQUIRES: object-emission - ; RUN: %llc_dwarf %s -o %t -filetype=obj -O0 ; RUN: llvm-dwarfdump -debug-info %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/typedef.ll =================================================================== --- llvm/test/DebugInfo/Generic/typedef.ll +++ llvm/test/DebugInfo/Generic/typedef.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s ; From source: Index: llvm/test/DebugInfo/Generic/unconditional-branch.ll =================================================================== --- llvm/test/DebugInfo/Generic/unconditional-branch.ll +++ llvm/test/DebugInfo/Generic/unconditional-branch.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; PR 19261 ; RUN: %llc_dwarf -fast-isel=false -O0 -filetype=obj %s -o %t Index: llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll =================================================================== --- llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll +++ llvm/test/DebugInfo/Generic/univariant-discriminated-union.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/varargs.ll =================================================================== --- llvm/test/DebugInfo/Generic/varargs.ll +++ llvm/test/DebugInfo/Generic/varargs.ll @@ -1,6 +1,5 @@ ; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s ; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s -; REQUIRES: object-emission ; ; Test debug info for variadic function arguments. ; Created from tools/clang/tests/CodeGenCXX/debug-info-varargs.cpp Index: llvm/test/DebugInfo/Generic/version.ll =================================================================== --- llvm/test/DebugInfo/Generic/version.ll +++ llvm/test/DebugInfo/Generic/version.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s Index: llvm/test/DebugInfo/Generic/virtual-index.ll =================================================================== --- llvm/test/DebugInfo/Generic/virtual-index.ll +++ llvm/test/DebugInfo/Generic/virtual-index.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v %t | FileCheck %s Index: llvm/test/DebugInfo/Inputs/gmlt.ll =================================================================== --- llvm/test/DebugInfo/Inputs/gmlt.ll +++ llvm/test/DebugInfo/Inputs/gmlt.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; Generated from the following source compiled with clang++ -gmlt: ; void f1() {} ; void __attribute__((section("__TEXT,__bar"))) f2() {} Index: llvm/test/DebugInfo/X86/align_c11.ll =================================================================== --- llvm/test/DebugInfo/X86/align_c11.ll +++ llvm/test/DebugInfo/X86/align_c11.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang -c -g -std=c11 -S -emit-llvm from the following C11 source ; Index: llvm/test/DebugInfo/X86/align_cpp11.ll =================================================================== --- llvm/test/DebugInfo/X86/align_cpp11.ll +++ llvm/test/DebugInfo/X86/align_cpp11.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang++ -c -g -std=c++11 -S -emit-llvm from the following C++11 source ; struct S { Index: llvm/test/DebugInfo/X86/align_objc.ll =================================================================== --- llvm/test/DebugInfo/X86/align_objc.ll +++ llvm/test/DebugInfo/X86/align_objc.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; typedef struct __attribute__((aligned (128))) { ; char c; Index: llvm/test/DebugInfo/X86/arange.ll =================================================================== --- llvm/test/DebugInfo/X86/arange.ll +++ llvm/test/DebugInfo/X86/arange.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-dwarfdump -debug-aranges - | FileCheck %s ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj -generate-arange-section < %s | llvm-readobj --relocations - | FileCheck --check-prefix=OBJ %s Index: llvm/test/DebugInfo/X86/arguments.ll =================================================================== --- llvm/test/DebugInfo/X86/arguments.ll +++ llvm/test/DebugInfo/X86/arguments.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-unknown-unknown -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump %t | FileCheck %s Index: llvm/test/DebugInfo/X86/atomic-c11-dwarf-4.ll =================================================================== --- llvm/test/DebugInfo/X86/atomic-c11-dwarf-4.ll +++ llvm/test/DebugInfo/X86/atomic-c11-dwarf-4.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang -c -g -std=c11 -S -emit-llvm from the following C11 source ; Index: llvm/test/DebugInfo/X86/atomic-c11-dwarf-5.ll =================================================================== --- llvm/test/DebugInfo/X86/atomic-c11-dwarf-5.ll +++ llvm/test/DebugInfo/X86/atomic-c11-dwarf-5.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang -c -g -std=c11 -S -emit-llvm from the following C11 source ; Index: llvm/test/DebugInfo/X86/c-type-units.ll =================================================================== --- llvm/test/DebugInfo/X86/c-type-units.ll +++ llvm/test/DebugInfo/X86/c-type-units.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -o - %s -filetype=obj -O0 -debugger-tune=lldb -generate-type-units -mtriple=x86_64-unknown-linux-gnu | llvm-dwarfdump -debug-types - | FileCheck %s Index: llvm/test/DebugInfo/X86/containing-type-extension-rust.ll =================================================================== --- llvm/test/DebugInfo/X86/containing-type-extension-rust.ll +++ llvm/test/DebugInfo/X86/containing-type-extension-rust.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: %llc_dwarf -O0 -filetype=obj < %s > %t ; RUN: llvm-dwarfdump -v -debug-info %t | FileCheck %s Index: llvm/test/DebugInfo/X86/debug-info-packed-struct.ll =================================================================== --- llvm/test/DebugInfo/X86/debug-info-packed-struct.ll +++ llvm/test/DebugInfo/X86/debug-info-packed-struct.ll @@ -5,7 +5,6 @@ target triple = "x86_64-apple-darwin" ; RUN: %llc_dwarf -O0 -filetype=obj -o %t.o %s ; RUN: llvm-dwarfdump -v -debug-info %t.o | FileCheck %s -; REQUIRES: object-emission ; // --------------------------------------------------------------------- ; // Not packed. Index: llvm/test/DebugInfo/X86/debug-loc-frame.ll =================================================================== --- llvm/test/DebugInfo/X86/debug-loc-frame.ll +++ llvm/test/DebugInfo/X86/debug-loc-frame.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; Check that when variables are allocated on the stack we generate debug locations ; for the stack location directly instead of generating a register+offset indirection. Index: llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll =================================================================== --- llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll +++ llvm/test/DebugInfo/X86/debug-names-ir-disabled.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; Verify that no DWARF v5 names section is emitted when all CUs disable name tables. ; RUN: llc -mtriple x86_64-pc-linux -filetype=obj < %s \ Index: llvm/test/DebugInfo/X86/debug-names-partial.ll =================================================================== --- llvm/test/DebugInfo/X86/debug-names-partial.ll +++ llvm/test/DebugInfo/X86/debug-names-partial.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; Verify that DWARF v5 debug_names omit names from CUs that opt-out. ; RUN: llc -mtriple x86_64-pc-linux -filetype=obj < %s \ Index: llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll =================================================================== --- llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll +++ llvm/test/DebugInfo/X86/debug-names-split-dwarf.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; Verify that DWARF v5 accelerator tables work with split-dwarf. ; RUN: llc -mtriple x86_64-pc-linux -split-dwarf-file=foo.dwo \ Index: llvm/test/DebugInfo/X86/decl-derived-member.ll =================================================================== --- llvm/test/DebugInfo/X86/decl-derived-member.ll +++ llvm/test/DebugInfo/X86/decl-derived-member.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple x86_64-pc-linux -O0 -filetype=obj %s -o %t ; RUN: llvm-dwarfdump %t | FileCheck %s Index: llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll =================================================================== --- llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll +++ llvm/test/DebugInfo/X86/dwarf-callsite-related-attrs.ll @@ -12,7 +12,7 @@ ; and fail with "failed to compute relocation: IMAGE_REL_AMD64_ADDR32". ; UNSUPPORTED: cygwin,windows-gnu,windows-msvc -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: %llc_dwarf -mtriple=x86_64-- < %s -o - | FileCheck %s -check-prefix=ASM ; RUN: %llc_dwarf -debugger-tune=lldb -mtriple=x86_64-- < %s -filetype=obj -o %t.o ; RUN: llvm-dwarfdump %t.o -o - | FileCheck %s -check-prefix=OBJ -implicit-check-not=DW_TAG_call_site Index: llvm/test/DebugInfo/X86/generate-odr-hash.ll =================================================================== --- llvm/test/DebugInfo/X86/generate-odr-hash.ll +++ llvm/test/DebugInfo/X86/generate-odr-hash.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc < %s -o %t -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu ; RUN: llvm-dwarfdump -v %t | FileCheck --check-prefix=CHECK --check-prefix=SINGLE %s Index: llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll =================================================================== --- llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll +++ llvm/test/DebugInfo/X86/ghost-sdnode-dbgvalues.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-apple-macosx10.10.0 -o %t %s Index: llvm/test/DebugInfo/X86/inline-member-function.ll =================================================================== --- llvm/test/DebugInfo/X86/inline-member-function.ll +++ llvm/test/DebugInfo/X86/inline-member-function.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s Index: llvm/test/DebugInfo/X86/lexical_block.ll =================================================================== --- llvm/test/DebugInfo/X86/lexical_block.ll +++ llvm/test/DebugInfo/X86/lexical_block.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s \ ; RUN: | llvm-dwarfdump -v -debug-info - | FileCheck --check-prefix=CHECK --check-prefix=CHECK-V4 %s Index: llvm/test/DebugInfo/X86/missing-file-line.ll =================================================================== --- llvm/test/DebugInfo/X86/missing-file-line.ll +++ llvm/test/DebugInfo/X86/missing-file-line.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-linux-gnu -filetype=obj %s -o - | llvm-dwarfdump -all - | FileCheck %s Index: llvm/test/DebugInfo/X86/nodebug.ll =================================================================== --- llvm/test/DebugInfo/X86/nodebug.ll +++ llvm/test/DebugInfo/X86/nodebug.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc < %s -filetype=obj -mtriple=x86_64-apple-darwin | llvm-dwarfdump -v - | FileCheck %s Index: llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll =================================================================== --- llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll +++ llvm/test/DebugInfo/X86/nodebug_with_debug_loc.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=i386-linux-gnu -filetype=obj -relocation-model=pic %s -o /dev/null Index: llvm/test/DebugInfo/X86/noreturn_c11.ll =================================================================== --- llvm/test/DebugInfo/X86/noreturn_c11.ll +++ llvm/test/DebugInfo/X86/noreturn_c11.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang -S -c -std=c++11 --emit-llvm -g from the following C11 source: ; _Noreturn void f() { Index: llvm/test/DebugInfo/X86/noreturn_cpp11.ll =================================================================== --- llvm/test/DebugInfo/X86/noreturn_cpp11.ll +++ llvm/test/DebugInfo/X86/noreturn_cpp11.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang++ -S -c -std=c++11 --emit-llvm -g from the following C++11 source: ;class foo { Index: llvm/test/DebugInfo/X86/noreturn_objc.ll =================================================================== --- llvm/test/DebugInfo/X86/noreturn_objc.ll +++ llvm/test/DebugInfo/X86/noreturn_objc.ll @@ -1,5 +1,4 @@ ; RUN: %llc_dwarf -filetype=obj < %s | llvm-dwarfdump -debug-info - | FileCheck %s -; REQUIRES: object-emission ; Generated by clang++ -S -c --emit-llvm -g from the following ObjC source: ; #include Index: llvm/test/DebugInfo/X86/parameters.ll =================================================================== --- llvm/test/DebugInfo/X86/parameters.ll +++ llvm/test/DebugInfo/X86/parameters.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -O0 -filetype=obj %s -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s Index: llvm/test/DebugInfo/X86/rematerialize.ll =================================================================== --- llvm/test/DebugInfo/X86/rematerialize.ll +++ llvm/test/DebugInfo/X86/rematerialize.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -O2 -filetype=obj -mtriple=x86_64-unknown-linux-gnu < %s \ ; RUN: | llvm-dwarfdump -debug-line - | FileCheck %s ; Index: llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll =================================================================== --- llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll +++ llvm/test/DebugInfo/X86/string-offsets-multiple-cus.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=obj < %s | llvm-dwarfdump -v - | \ ; RUN: FileCheck --check-prefix=DEFAULT --check-prefix=BOTH %s ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=obj -generate-type-units < %s | \ Index: llvm/test/DebugInfo/X86/string-offsets-table-order.ll =================================================================== --- llvm/test/DebugInfo/X86/string-offsets-table-order.ll +++ llvm/test/DebugInfo/X86/string-offsets-table-order.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -split-dwarf-file=foo.dwo -filetype=obj < %s \ ; RUN: | llvm-dwarfdump -v - | FileCheck %s Index: llvm/test/DebugInfo/X86/string-offsets-table.ll =================================================================== --- llvm/test/DebugInfo/X86/string-offsets-table.ll +++ llvm/test/DebugInfo/X86/string-offsets-table.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -filetype=obj < %s | llvm-dwarfdump -v - \ ; RUN: | FileCheck --check-prefix=MONOLITHIC %s ; RUN: llc -mtriple=x86_64-unknown-linux-gnu -split-dwarf-file=foo.dwo -filetype=obj < %s \ Index: llvm/test/DebugInfo/X86/template.ll =================================================================== --- llvm/test/DebugInfo/X86/template.ll +++ llvm/test/DebugInfo/X86/template.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | llvm-dwarfdump -v -debug-info - | FileCheck %s ; RUN: llc -mtriple=x86_64-linux -O0 -filetype=obj < %s | not llvm-dwarfdump -verify - | FileCheck %s --check-prefix VERIFY Index: llvm/test/DebugInfo/X86/tu-to-non-named-type.ll =================================================================== --- llvm/test/DebugInfo/X86/tu-to-non-named-type.ll +++ llvm/test/DebugInfo/X86/tu-to-non-named-type.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu < %s \ ; RUN: | llvm-dwarfdump -debug-info -debug-types - | FileCheck %s Index: llvm/test/DebugInfo/X86/tu-to-non-tu.ll =================================================================== --- llvm/test/DebugInfo/X86/tu-to-non-tu.ll +++ llvm/test/DebugInfo/X86/tu-to-non-tu.ll @@ -1,5 +1,3 @@ -; REQUIRES: object-emission - ; RUN: llc -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu < %s \ ; RUN: | llvm-dwarfdump -debug-info -debug-types - | FileCheck %s Index: llvm/test/DebugInfo/X86/type_units_with_addresses.ll =================================================================== --- llvm/test/DebugInfo/X86/type_units_with_addresses.ll +++ llvm/test/DebugInfo/X86/type_units_with_addresses.ll @@ -1,4 +1,4 @@ -; REQUIRES: object-emission +; REQUIRES: x86 ; RUN: llc -split-dwarf-file=foo.dwo -filetype=obj -O0 -generate-type-units -mtriple=x86_64-unknown-linux-gnu < %s \ ; RUN: | llvm-dwarfdump -v - | FileCheck %s Index: llvm/test/DebugInfo/debuglineinfo-path.ll =================================================================== --- llvm/test/DebugInfo/debuglineinfo-path.ll +++ llvm/test/DebugInfo/debuglineinfo-path.ll @@ -1,5 +1,4 @@ ; Make sure that absolute source dir is detected correctly regardless of the platform. -; REQUIRES: object-emission, default_triple ; On powerpc llvm-nm describes win_func as a global variable, not a function. It breaks the test. ; It is not essential to DWARF path handling code we're testing here. Index: llvm/test/Linker/subprogram-linkonce-weak.ll =================================================================== --- llvm/test/Linker/subprogram-linkonce-weak.ll +++ llvm/test/Linker/subprogram-linkonce-weak.ll @@ -83,7 +83,6 @@ !5 = !DISubroutineType(types: !{}) ; Crasher for llc. -; REQUIRES: object-emission ; RUN: %llc_dwarf -filetype=obj -O0 %t1 -o %t1.o ; RUN: llvm-dwarfdump %t1.o --all | FileCheck %s -check-prefix=DWLW -check-prefix=DW ; RUN: %llc_dwarf -filetype=obj -O0 %t2 -o %t2.o Index: llvm/test/Linker/type-unique-odr-a.ll =================================================================== --- llvm/test/Linker/type-unique-odr-a.ll +++ llvm/test/Linker/type-unique-odr-a.ll @@ -1,4 +1,4 @@ -; REQUIRES: default_triple, object-emission +; REQUIRES: default_triple ; ; RUN: llvm-link %s %p/type-unique-odr-b.ll -S -o - \ ; RUN: | %llc_dwarf -dwarf-linkage-names=All -filetype=obj -O0 \ Index: llvm/test/Linker/type-unique-simple-a.ll =================================================================== --- llvm/test/Linker/type-unique-simple-a.ll +++ llvm/test/Linker/type-unique-simple-a.ll @@ -1,4 +1,4 @@ -; REQUIRES: default_triple, object-emission +; REQUIRES: default_triple ; RUN: llvm-link %s %p/type-unique-simple-b.ll -S -o %t ; RUN: cat %t | FileCheck %s -check-prefix=LINK Index: llvm/test/Linker/type-unique-simple2-a.ll =================================================================== --- llvm/test/Linker/type-unique-simple2-a.ll +++ llvm/test/Linker/type-unique-simple2-a.ll @@ -1,4 +1,4 @@ -; REQUIRES: default_triple, object-emission +; REQUIRES: default_triple ; ; RUN: llvm-link %s %p/type-unique-simple2-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Index: llvm/test/Linker/type-unique-simple2.ll =================================================================== --- llvm/test/Linker/type-unique-simple2.ll +++ llvm/test/Linker/type-unique-simple2.ll @@ -1,4 +1,3 @@ -; REQUIRES: object-emission ; REQUIRES: default_triple ; RUN: llvm-link %S/Inputs/type-unique-simple2-a.ll %S/Inputs/type-unique-simple2-b.ll -S -o %t Index: llvm/test/Linker/type-unique-type-array-a.ll =================================================================== --- llvm/test/Linker/type-unique-type-array-a.ll +++ llvm/test/Linker/type-unique-type-array-a.ll @@ -1,4 +1,4 @@ -; REQUIRES: default_triple, object-emission +; REQUIRES: default_triple ; ; RUN: llvm-link %s %p/type-unique-type-array-b.ll -S -o - | %llc_dwarf -filetype=obj -O0 | llvm-dwarfdump -v -debug-info - | FileCheck %s ; Index: llvm/test/lit.cfg.py =================================================================== --- llvm/test/lit.cfg.py +++ llvm/test/lit.cfg.py @@ -246,10 +246,6 @@ if config.libcxx_used: config.available_features.add('libcxx-used') -# Direct object generation -if not 'hexagon' in config.target_triple: - config.available_features.add('object-emission') - # LLVM can be configured with an empty default triple # Some tests are "generic" and require a valid default triple if config.target_triple: Index: llvm/test/tools/dsymutil/ARM/empty-map.test =================================================================== --- llvm/test/tools/dsymutil/ARM/empty-map.test +++ llvm/test/tools/dsymutil/ARM/empty-map.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s --- Index: llvm/test/tools/dsymutil/ARM/fat-arch-name.test =================================================================== --- llvm/test/tools/dsymutil/ARM/fat-arch-name.test +++ llvm/test/tools/dsymutil/ARM/fat-arch-name.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null -verbose 2>&1 | FileCheck %s # We detect thumb triples from the binaries, because those are the only ones Index: llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test =================================================================== --- llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test +++ llvm/test/tools/dsymutil/ARM/fat-arch-not-found.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - 2>&1 | FileCheck %s --- Index: llvm/test/tools/dsymutil/ARM/fat-threading.test =================================================================== --- llvm/test/tools/dsymutil/ARM/fat-threading.test +++ llvm/test/tools/dsymutil/ARM/fat-threading.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # By default, dsymutil spawns one thread per architecture and this test just # ensures that things don't break when processing multiple archs. # RUN: dsymutil -no-output %p/../Inputs/fat-test.arm.dylib -o /dev/null 2>&1 Index: llvm/test/tools/dsymutil/X86/fat-archive-input-i386.test =================================================================== --- llvm/test/tools/dsymutil/X86/fat-archive-input-i386.test +++ llvm/test/tools/dsymutil/X86/fat-archive-input-i386.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s --- Index: llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test =================================================================== --- llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test +++ llvm/test/tools/dsymutil/X86/fat-object-input-x86_64.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s --- Index: llvm/test/tools/dsymutil/X86/fat-object-input-x86_64h.test =================================================================== --- llvm/test/tools/dsymutil/X86/fat-object-input-x86_64h.test +++ llvm/test/tools/dsymutil/X86/fat-object-input-x86_64h.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -f -oso-prepend-path=%p/../Inputs -y %s -o - | llvm-dwarfdump -debug-info - | FileCheck %s --- Index: llvm/test/tools/dsymutil/X86/frame-1.test =================================================================== --- llvm/test/tools/dsymutil/X86/frame-1.test +++ llvm/test/tools/dsymutil/X86/frame-1.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: rm -rf %t # RUN: mkdir -p %t # RUN: llc -filetype=obj %p/../Inputs/frame-dw2.ll -o %t/frame-dw2.o Index: llvm/test/tools/dsymutil/X86/frame-2.test =================================================================== --- llvm/test/tools/dsymutil/X86/frame-2.test +++ llvm/test/tools/dsymutil/X86/frame-2.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: rm -rf %t # RUN: mkdir -p %t # RUN: llc -filetype=obj %p/../Inputs/frame-dw2.ll -o %t/frame-dw2.o Index: llvm/test/tools/dsymutil/X86/op-convert.test =================================================================== --- llvm/test/tools/dsymutil/X86/op-convert.test +++ llvm/test/tools/dsymutil/X86/op-convert.test @@ -1,4 +1,3 @@ -# REQUIRES: object-emission # RUN: dsymutil -f -o %t --verify -oso-prepend-path=%p/../Inputs -y %s # RUN: llvm-dwarfdump %t | FileCheck %s