[llvm] 7b64d76 - [AArch64][test] Use -filetype=null after 0b69cc8bcba79366aeee1531c61b1e8255a2d6c4

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 11 10:48:30 PDT 2023


Author: Fangrui Song
Date: 2023-07-11T10:48:25-07:00
New Revision: 7b64d761098fdbb426b27ca58a9dc8f31917dcba

URL: https://github.com/llvm/llvm-project/commit/7b64d761098fdbb426b27ca58a9dc8f31917dcba
DIFF: https://github.com/llvm/llvm-project/commit/7b64d761098fdbb426b27ca58a9dc8f31917dcba.diff

LOG: [AArch64][test] Use -filetype=null after 0b69cc8bcba79366aeee1531c61b1e8255a2d6c4

Otherwise if the current directory is not writable, we will fail with a
different message.

Added: 
    

Modified: 
    llvm/test/MC/AArch64/global-tagging.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/MC/AArch64/global-tagging.ll b/llvm/test/MC/AArch64/global-tagging.ll
index 5d7f4241e8acf3..fcaadead115975 100644
--- a/llvm/test/MC/AArch64/global-tagging.ll
+++ b/llvm/test/MC/AArch64/global-tagging.ll
@@ -1,6 +1,6 @@
 ;; Tagged symbols are only available on aarch64-linux-android.
-; RUN: not llc %s -mtriple=aarch64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR
-; RUN: %if x86-registered-target %{ not llc %s -mtriple=x86_64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR %}
+; RUN: not llc -filetype=null %s -mtriple=aarch64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR
+; RUN: %if x86-registered-target %{ not llc -filetype=null %s -mtriple=x86_64-unknown-linux 2>&1 | FileCheck %s --check-prefix=ERR %}
 
 ; ERR: error: tagged symbols (-fsanitize=memtag-globals) are only supported on AArch64 Android
 


        


More information about the llvm-commits mailing list