Skip to content

Commit 8f01260

Browse files
FznamznonAlexeySachkov
authored andcommitted
Fix LLVM-SPIRV::dbg-value-location.ll test
After recent changes in LLVM, debug info for this test changed for Windows triple and caused test fail on Windows. Debug info can be represented in several ways, it may depend on the triple. This test was originally made for x86_64-apple-darwin10.0.0 triple, so this patch sets this triple permanently.
1 parent 2e3658a commit 8f01260

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/DebugInfo/X86/dbg-value-location.ll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
; RUN: llvm-spirv %t.bc -o %t.spv
33
; RUN: llvm-spirv -r %t.spv -o - | llvm-dis -o %t.ll
44

5-
; RUN: llc -mtriple=%triple -filetype=obj %t.ll -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
6-
; RUN: llc -mtriple=%triple -filetype=obj %t.ll -regalloc=basic -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
5+
; RUN: llc -mtriple=x86_64-apple-darwin10.0.0 -filetype=obj %t.ll -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
6+
; RUN: llc -mtriple=x86_64-apple-darwin10.0.0 -filetype=obj %t.ll -regalloc=basic -o - | llvm-dwarfdump -v -debug-info - | FileCheck %s
77
target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
88
target triple = "spir64-unknown-unknown"
99
; Test that the type for the formal parameter "var" makes it into the debug info.

0 commit comments

Comments
 (0)