[clang] 5b4746f - [clang][ARM] removing branch protection error cmdline test

Ties Stuij via cfe-commits cfe-commits at lists.llvm.org
Wed Dec 1 04:09:51 PST 2021


Author: Ties Stuij
Date: 2021-12-01T12:09:08Z
New Revision: 5b4746f94aed5548cd918357299c585a89e3b524

URL: https://github.com/llvm/llvm-project/commit/5b4746f94aed5548cd918357299c585a89e3b524
DIFF: https://github.com/llvm/llvm-project/commit/5b4746f94aed5548cd918357299c585a89e3b524.diff

LOG: [clang][ARM] removing branch protection error cmdline test

This test which was just introduced in the PACBTI-M frontend
patch (https://reviews.llvm.org/D112421) is currently failing on some
platforms. Removing temporarily.

Added: 
    

Modified: 
    

Removed: 
    clang/test/Frontend/arm-invalid-branch-protection.c


################################################################################
diff  --git a/clang/test/Frontend/arm-invalid-branch-protection.c b/clang/test/Frontend/arm-invalid-branch-protection.c
deleted file mode 100644
index 2e2a26a8b576c..0000000000000
--- a/clang/test/Frontend/arm-invalid-branch-protection.c
+++ /dev/null
@@ -1,6 +0,0 @@
-// RUN: %clang -target arm-arm-none-eabi -mbranch-protection=pac-ret+b-key -c %s -o /dev/null 2>&1 | FileCheck %s
-// RUN: %clang -target arm-arm-none-eabi -mbranch-protection=pac-ret+b-key+leaf -c %s -o /dev/null 2>&1 | FileCheck %s
-// RUN: %clang -target arm-arm-none-eabi -mbranch-protection=bti+pac-ret+b-key -c %s -o /dev/null 2>&1 | FileCheck %s
-// RUN: %clang -target arm-arm-none-eabi -mbranch-protection=bti+pac-ret+b-key+leaf -c %s -o /dev/null 2>&1 | FileCheck %s
-
-// CHECK: warning: invalid branch protection option 'b-key' in '-mbranch-protection={{[a-z+-]*}}' [-Wbranch-protection]


        


More information about the cfe-commits mailing list