[PATCH] D155576: [NFC][clang-extdef-mapping] fix test failure on nonsupported targets
Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jul 18 04:57:34 PDT 2023
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc24f0f9bd6f4: [NFC][clang-extdef-mapping] fix test failure on unsupported targets (authored by dingfei <fding at feysh.com>).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D155576/new/
https://reviews.llvm.org/D155576
Files:
clang/test/Tooling/ms-asm-clang-extdef-mapping.c
Index: clang/test/Tooling/ms-asm-clang-extdef-mapping.c
===================================================================
--- clang/test/Tooling/ms-asm-clang-extdef-mapping.c
+++ clang/test/Tooling/ms-asm-clang-extdef-mapping.c
@@ -1,7 +1,9 @@
-// RUN: clang-extdef-mapping "%s" -- -fasm-blocks 2>&1 | FileCheck %s
+// RUN: clang-extdef-mapping "%s" -- -fasm-blocks \
+// RUN: -target x86_64-apple-darwin10 2>&1 | FileCheck %s
+// REQUIRES: x86-registered-target
void Break() {
__asm { int 3 }
}
-// CHECK: {{c:@F at Break .*}}
+// CHECK: {{10:c:@F at Break}}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D155576.541462.patch
Type: text/x-patch
Size: 567 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230718/0daf73fa/attachment-0001.bin>
More information about the cfe-commits
mailing list