Skip to content

Commit 157d368

Browse files
committed
Adjust debug info version tests
1 parent 0e2aaa5 commit 157d368

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
// REQUIRES: x86-registered-target
2+
// RUN: %clang --target=x86_64-windows -g -S -emit-llvm -o - %s | FileCheck %s
3+
// RUN: %clang --target=x86_64-windows -S -emit-llvm -o - %s | FileCheck %s
4+
int main (void) {
5+
return 0;
6+
}
7+
8+
// CHECK: i32 2, !"Debug Info Version", i32 3}

clang/test/CodeGen/debug-info-version.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// REQUIRES: !system-windows
12
// RUN: %clang -g -S -emit-llvm -o - %s | FileCheck %s
23
// RUN: %clang -S -emit-llvm -o - %s | FileCheck %s --check-prefix=NO_DEBUG
34
int main (void) {

0 commit comments

Comments
 (0)