1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00

[debug-info][NFC] Set -mtriple to avoid the test failure under other targets.

This commit is contained in:
Esme-Yi 2021-04-09 04:53:59 +00:00
parent 1ad2b950e9
commit e72041f715

View File

@ -1,5 +1,10 @@
; RUN: llc -debugger-tune=dbx -filetype=obj < %s | llvm-dwarfdump -v - | \
; RUN: FileCheck %s -implicit-check-not DW_FORM_strp
; The original purpose of this test case was to verify DBX under AIX,
; but XCOFF does not support object mode for now. Since the option
; `-debugger-tune=dbx` is target-independent, set `-mtriple` to
; `powerpc-unknown-linux` for now.
; RUN: llc -mtriple powerpc-unknown-linux -debugger-tune=dbx -filetype=obj < %s \
; RUN: | llvm-dwarfdump -v - | FileCheck %s -implicit-check-not DW_FORM_strp
; CHECK: DW_AT_producer [DW_FORM_string] ("clang version 12.0.0")