File tree Expand file tree Collapse file tree 13 files changed +26
-24
lines changed
llvm/test/DWARFCFIChecker/X86 Expand file tree Collapse file tree 13 files changed +26
-24
lines changed Original file line number Diff line number Diff line change 1
- # RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: not llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .text
4
4
.text
5
5
.globl f
Original file line number Diff line number Diff line change 1
- # RUN: llvm - mc - triple x86_64 - pc - linux - gnu %s -- validate - cfi -- filetype=null 2 >& 1 | FileCheck %s -- allow - empty -- implicit - check - not warning: -- implicit - check - not error:
1
+ # RUN: llvm - mc - triple x86_64 - unknown - unknown %s -- validate - cfi -- filetype=null 2 >& 1 | FileCheck %s -- allow - empty -- implicit - check - not warning: -- implicit - check - not error:
2
2
## TODO: ` -- allow - empty` should be erased and replaced with a simple check for the asm output when ` -- filetype=asm` is implemented for ` -- validate - cfi`.
3
- # RUN: llvm - mc - triple x86_64 - pc - linux - gnu %s -- filetype=asm 2 >& 1 | FileCheck %s - check - prefix=ASSEMBLER -- implicit - check - not warning: -- implicit - check - not error:
3
+ # RUN: llvm - mc - triple x86_64 - unknown - unknown %s -- filetype=asm 2 >& 1 | FileCheck %s - check - prefix=ASSEMBLER -- implicit - check - not warning: -- implicit - check - not error:
4
4
# ASSEMBLER: .section
5
5
.pushsection A
6
6
f:
Original file line number Diff line number Diff line change 1
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s --allow-empty --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s --allow-empty --implicit-check-not warning: --implicit-check-not error:
2
2
## TODO: `--allow-empty` should be erased and replaced with a simple check for the asm output when `--filetype=asm` is implemented for `--validate-cfi`.
3
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
4
4
# ASSEMBLER: .text
5
5
.text
6
6
.globl f
Original file line number Diff line number Diff line change
1
+ if not " X86" in config.root.targets:
2
+ config.unsupported = True
Original file line number Diff line number Diff line change 1
- # RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: not llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .text
4
4
.text
5
5
.globl f
Original file line number Diff line number Diff line change 1
- # RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: not llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .section
4
4
.pushsection A
5
5
f:
Original file line number Diff line number Diff line change 1
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .text
4
4
.text
5
5
.globl f
Original file line number Diff line number Diff line change 1
- # RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: not llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .text
4
4
.text
5
5
.globl f
Original file line number Diff line number Diff line change 1
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .text
4
4
.text
5
5
.globl f
Original file line number Diff line number Diff line change 1
- # RUN: not llvm-mc -triple x86_64-pc-linux-gnu %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
- # RUN: llvm-mc -triple x86_64-pc-linux-gnu %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
1
+ # RUN: not llvm-mc -triple x86_64-unknown-unknown %s --validate-cfi --filetype=null 2>&1 | FileCheck %s
2
+ # RUN: llvm-mc -triple x86_64-unknown-unknown %s --filetype=asm 2>&1 | FileCheck %s -check-prefix=ASSEMBLER --implicit-check-not warning: --implicit-check-not error:
3
3
# ASSEMBLER: .text
4
4
.text
5
5
.type _start,@function
You can’t perform that action at this time.
0 commit comments