[clang] [inline-asm] Fixed issue no. 164973 (PR #167316)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Nov 10 10:49:54 PST 2025
================
@@ -0,0 +1,23 @@
+/// Test that inline asm source location corresponds to the actual
+/// instruction line, not the first line of the asm block.
+///
+/// RUN: not %clang_cc1 -triple x86_64-pc-linux-gnu -emit-obj %s 2>&1 | FileCheck %s
----------------
efriedma-quic wrote:
Please add `-o %t` or something like that so we don't accidentally get output files in weird places.
Needs `// REQUIRES: x86-registered-target` somewhere because this uses the x86 asm parser.
https://github.com/llvm/llvm-project/pull/167316
More information about the cfe-commits
mailing list