[PATCH] D156090: [Driver][XRay][test] Add support for loongarch64

Limin Zhang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jul 24 02:07:35 PDT 2023


Ami-zhang created this revision.
Ami-zhang added reviewers: SixWeining, probinson, MaskRay.
Herald added a subscriber: dberris.
Herald added a project: All.
Ami-zhang requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Depends on D156089 <https://reviews.llvm.org/D156089>


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D156090

Files:
  clang/test/Driver/XRay/lit.local.cfg
  clang/test/Driver/XRay/xray-ignore-loops-flags.cpp
  clang/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp
  clang/test/Driver/XRay/xray-mode-flags.cpp


Index: clang/test/Driver/XRay/xray-mode-flags.cpp
===================================================================
--- clang/test/Driver/XRay/xray-mode-flags.cpp
+++ clang/test/Driver/XRay/xray-mode-flags.cpp
@@ -46,4 +46,4 @@
 // NONE-NOT: libclang_rt.xray-basic
 // NONE-NOT: libclang_rt.xray-fdr
 // REQUIRES: target={{.*-(linux|freebsd).*}}
-// REQUIRES: target={{(amd64|x86_64|x86_64h|arm|aarch64|arm64)-.*}}
+// REQUIRES: target={{(amd64|x86_64|x86_64h|arm|aarch64|arm64|loongarch64)-.*}}
Index: clang/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp
===================================================================
--- clang/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp
+++ clang/test/Driver/XRay/xray-instrumentation-bundles-flags.cpp
@@ -7,4 +7,4 @@
 // CHECK:  -fxray-instrumentation-bundle=function
 //
 // REQUIRES: target={{.*-(linux|freebsd).*}}
-// REQUIRES: target={{(amd64|x86_64|x86_64h|arm|aarch64|arm64)-.*}}
+// REQUIRES: target={{(amd64|x86_64|x86_64h|arm|aarch64|arm64|loongarch64)-.*}}
Index: clang/test/Driver/XRay/xray-ignore-loops-flags.cpp
===================================================================
--- clang/test/Driver/XRay/xray-ignore-loops-flags.cpp
+++ clang/test/Driver/XRay/xray-ignore-loops-flags.cpp
@@ -6,4 +6,4 @@
 // RUN:   -x c++ -emit-llvm -c -o - %s 2>&1 | FileCheck %s
 // CHECK:  -fxray-ignore-loops
 //
-// REQUIRES: target={{(x86_64|x86_64h)-.*}}
+// REQUIRES: target={{(x86_64|x86_64h|loongarch64)-.*}}
Index: clang/test/Driver/XRay/lit.local.cfg
===================================================================
--- clang/test/Driver/XRay/lit.local.cfg
+++ clang/test/Driver/XRay/lit.local.cfg
@@ -13,6 +13,7 @@
     "mipsel",
     "mips64",
     "mips64el",
+    "loongarch64",
 ]
 
 # Only on platforms we support.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D156090.543422.patch
Type: text/x-patch
Size: 1801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230724/35d04004/attachment.bin>


More information about the cfe-commits mailing list