[PATCH] D149444: [ARM] Allow codegen for Armv6m eXecute-Only (XO) sections

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 31 07:24:10 PDT 2023


MaskRay added inline comments.


================
Comment at: clang/test/Driver/arm-execute-only.c:1
-// RUN: not %clang -c -target thumbv6m-eabi -mexecute-only %s 2>&1 | \
+// RUN: %clang -c -target thumbv6m-eabi -mexecute-only %s 2>&1 | \
+// RUN:   FileCheck -allow-empty --check-prefix CHECK-THIS %s
----------------
test/Driver tests should test just the Driver part, not sema/codegen, so we generally use `-###` to skip compilation.

`-target ` has been deprecated since 3.x. Use `--target=`


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D149444



More information about the llvm-commits mailing list