[PATCH] D54961: [AArch64] Add command-line option for SSBS

Phabricator via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Dec 3 06:43:34 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rC348142: [AArch64] Add command-line option for SSBS (authored by pabbar01, committed by ).

Changed prior to commit:
  https://reviews.llvm.org/D54961?vs=175537&id=176388#toc

Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D54961/new/

https://reviews.llvm.org/D54961

Files:
  test/Driver/aarch64-ssbs.c


Index: test/Driver/aarch64-ssbs.c
===================================================================
--- test/Driver/aarch64-ssbs.c
+++ test/Driver/aarch64-ssbs.c
@@ -0,0 +1,9 @@
+// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+ssbs   %s 2>&1 | FileCheck %s
+// CHECK: "-target-feature" "+ssbs"
+
+// RUN: %clang -### -target aarch64-none-none-eabi -march=armv8a+nossbs %s 2>&1 | FileCheck %s --check-prefix=NOSSBS
+// NOSSBS: "-target-feature" "-ssbs"
+
+// RUN: %clang -### -target aarch64-none-none-eabi                      %s 2>&1 | FileCheck %s --check-prefix=ABSENTSSBS
+// ABSENTSSBS-NOT: "-target-feature" "+ssbs"
+// ABSENTSSBS-NOT: "-target-feature" "-ssbs"


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D54961.176388.patch
Type: text/x-patch
Size: 687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20181203/e7758392/attachment.bin>


More information about the cfe-commits mailing list