From 4470202512234e6e56a69f75ca088c444c145cf3 Mon Sep 17 00:00:00 2001 From: Tom Tan Date: Sat, 1 Jun 2019 02:38:08 +0000 Subject: [PATCH] [COFF, ARM64] Fix location of ARM64 CodeView test ARM64 CodeView test was incorrectly put under test/DebugInfo/COFF folder which runs for all all architectures. This fix moves it to a subfolder AArch64 with lit.local.cfg which specify it supports AArch64 only. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362283 91177308-0d34-0410-b5e6-96231b3b80d8 --- .../arm64-register-variables.ll} | 2 +- test/DebugInfo/COFF/AArch64/lit.local.cfg | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) rename test/DebugInfo/COFF/{register-variables-arm64.ll => AArch64/arm64-register-variables.ll} (98%) create mode 100644 test/DebugInfo/COFF/AArch64/lit.local.cfg diff --git a/test/DebugInfo/COFF/register-variables-arm64.ll b/test/DebugInfo/COFF/AArch64/arm64-register-variables.ll similarity index 98% rename from test/DebugInfo/COFF/register-variables-arm64.ll rename to test/DebugInfo/COFF/AArch64/arm64-register-variables.ll index c615e79331d..daa7da201d5 100644 --- a/test/DebugInfo/COFF/register-variables-arm64.ll +++ b/test/DebugInfo/COFF/AArch64/arm64-register-variables.ll @@ -1,4 +1,4 @@ -; RUN: llc < %s -filetype=obj | llvm-readobj --codeview - | FileCheck %s --check-prefix=OBJ +; RUN: llc < %s -mtriple=arm64-windows -filetype=obj | llvm-readobj --codeview - | FileCheck %s --check-prefix=OBJ ; Generated from: ; volatile int x; diff --git a/test/DebugInfo/COFF/AArch64/lit.local.cfg b/test/DebugInfo/COFF/AArch64/lit.local.cfg new file mode 100644 index 00000000000..4004363241d --- /dev/null +++ b/test/DebugInfo/COFF/AArch64/lit.local.cfg @@ -0,0 +1,3 @@ +if not 'AArch64' in config.root.targets: + config.unsupported = True + -- 2.50.1