]> granicus.if.org Git - llvm/commitdiff
[COFF, ARM64] Fix location of ARM64 CodeView test
authorTom Tan <Tom.Tan@microsoft.com>
Sat, 1 Jun 2019 02:38:08 +0000 (02:38 +0000)
committerTom Tan <Tom.Tan@microsoft.com>
Sat, 1 Jun 2019 02:38:08 +0000 (02:38 +0000)
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

test/DebugInfo/COFF/AArch64/arm64-register-variables.ll [moved from test/DebugInfo/COFF/register-variables-arm64.ll with 98% similarity]
test/DebugInfo/COFF/AArch64/lit.local.cfg [new file with mode: 0644]

similarity index 98%
rename from test/DebugInfo/COFF/register-variables-arm64.ll
rename to test/DebugInfo/COFF/AArch64/arm64-register-variables.ll
index c615e79331d53f0d293f6b46c683c305e36c04f2..daa7da201d5351c212d6087fa10034633ee7965f 100644 (file)
@@ -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 (file)
index 0000000..4004363
--- /dev/null
@@ -0,0 +1,3 @@
+if not 'AArch64' in config.root.targets:\r
+    config.unsupported = True\r
+\r