mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-01 05:01:59 +01:00
[DebugInfo][X86] Add start-after flags to MIR tests
These tests would fail with -verify-machineinstrs because the MI generated from the IR would be merged with the one already in the MIR files, and we get the following error: ``` *** Bad machine code: Function has NoVRegs property but there are VReg operands *** - function: f ``` Differential Revision: https://reviews.llvm.org/D49191 llvm-svn: 336907
This commit is contained in:
parent
f144cbd9ce
commit
ce6a8314c3
@ -1,4 +1,4 @@
|
||||
# RUN: llc -filetype=obj -O0 %s -o - | llvm-readobj -codeview | FileCheck %s
|
||||
# RUN: llc -start-after=prologepilog -filetype=obj -O0 %s -o - | llvm-readobj -codeview | FileCheck %s
|
||||
#
|
||||
# (DW_OP_plus_uconst 12)
|
||||
# CHECK: LocalSym {
|
||||
|
@ -1,4 +1,4 @@
|
||||
# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -v --debug-info - | FileCheck %s
|
||||
# RUN: llc -verify-machineinstrs -start-after=prologepilog -filetype=obj -o - %s | llvm-dwarfdump -v --debug-info - | FileCheck %s
|
||||
# CHECK: .debug_info contents:
|
||||
# CHECK: DW_TAG_variable
|
||||
# CHECK-NEXT: DW_AT_location {{.*}} (DW_OP_reg1 RDX, DW_OP_bit_piece 0x8 0x8)
|
||||
|
@ -1,6 +1,6 @@
|
||||
# RUN: llc -filetype=obj -o - %s | llvm-dwarfdump -a - | FileCheck %s
|
||||
# RUN: llc -verify-machineinstrs -start-after=virtregrewriter -filetype=obj -o - %s | llvm-dwarfdump -a - | FileCheck %s
|
||||
#
|
||||
# This testcase has an implicit def pseudo-iunstruction with a debug location.
|
||||
# This testcase has an implicit def pseudo-instruction with a debug location.
|
||||
#
|
||||
# CHECK: .debug_info contents:
|
||||
# CHECK: DW_TAG_subprogram
|
||||
|
Loading…
x
Reference in New Issue
Block a user